|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectghm.follow.FollowApp
public class FollowApp
This class' main() method is the entry point into the Follow application.
main(String[])| Field Summary | |
|---|---|
static boolean |
DEBUG
|
static java.lang.String |
FILE_SEPARATOR
|
static boolean |
HAS_SOLARIS_BUG
|
static java.lang.String |
MESSAGE_LINE_SEPARATOR
|
| Method Summary | |
|---|---|
static void |
centerWindowInScreen(java.awt.Window window)
|
void |
closeFile()
Close the current tab |
void |
disableDragAndDrop(java.awt.Component c)
|
void |
enableDragAndDrop(java.awt.Component c)
|
FollowAppAction |
getAction(java.lang.String name)
|
java.util.HashMap<java.lang.String,FollowAppAction> |
getActions()
Get all actions associated to the application |
java.util.List<FileFollowingPane> |
getAllFileFollowingPanes()
|
FollowAppAttributes |
getAttributes()
|
java.util.Map<java.io.File,FileFollowingPane> |
getFileToFollowingPaneMap()
|
javax.swing.JFrame |
getFrame()
|
static javax.swing.ImageIcon |
getIcon(java.lang.Class<?> clazz,
java.lang.String iconNameKey)
Gets an image icon from the resource path. |
static FollowApp |
getInstance()
|
static java.lang.String |
getResourceString(java.lang.String key)
Get a string from the resource bundle. |
FileFollowingPane |
getSelectedFileFollowingPane()
|
SystemInterface |
getSystemInterface()
|
javax.swing.JTabbedPane |
getTabbedPane()
|
static void |
main(java.lang.String[] args)
Invoke this method to start the Follow application. |
void |
openFile(java.io.File file)
|
void |
putAction(java.lang.String name,
FollowAppAction action)
Set an action to the action map of the application. |
void |
setCursor(int cursorType)
Warning: This method should be called only from the event dispatching thread. |
void |
setSystemInterface(SystemInterface systemInterface)
|
void |
show()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FILE_SEPARATOR
public static final java.lang.String MESSAGE_LINE_SEPARATOR
public static final boolean DEBUG
public static boolean HAS_SOLARIS_BUG
| Method Detail |
|---|
public void closeFile()
public static java.lang.String getResourceString(java.lang.String key)
key -
public static javax.swing.ImageIcon getIcon(java.lang.Class<?> clazz,
java.lang.String iconNameKey)
clazz - The class to use as an entry point to the resource path. Image
path should be relative to this class.iconNameKey - The resource key name where the image is defined.
public void show()
public FollowAppAction getAction(java.lang.String name)
public java.util.HashMap<java.lang.String,FollowAppAction> getActions()
public void putAction(java.lang.String name,
FollowAppAction action)
name - The key to set the action to.action - The action to create an association for.
public void openFile(java.io.File file)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic void setCursor(int cursorType)
cursorType - may be Cursor.DEFAULT_CURSOR or Cursor.WAIT_CURSORpublic void enableDragAndDrop(java.awt.Component c)
public void disableDragAndDrop(java.awt.Component c)
public FileFollowingPane getSelectedFileFollowingPane()
public java.util.List<FileFollowingPane> getAllFileFollowingPanes()
public FollowAppAttributes getAttributes()
public java.util.Map<java.io.File,FileFollowingPane> getFileToFollowingPaneMap()
public javax.swing.JFrame getFrame()
public static FollowApp getInstance()
public SystemInterface getSystemInterface()
public void setSystemInterface(SystemInterface systemInterface)
public javax.swing.JTabbedPane getTabbedPane()
public static void centerWindowInScreen(java.awt.Window window)
public static void main(java.lang.String[] args)
args - files to be opened
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||