Method Summary |
|
public void | addAction(Action a) This can be called by the class implementing the view in order to
add view and/or plug-in specific actions to this view's popup menu.
Note: this is only public in order for it to be accessible
to scripts that subclass this class. |
public void | addCloseRunnable(Runnable closeRunnable) What to do when closing... |
final public boolean | close() Called to cause this view to close. |
public void | closeHook() This method can be overriden by the view implementation if needed. |
abstract public Component | getComponent() Return the GUI component. |
public String | getDescriptor() The "descriptor" is a string that has both the name of the view and
the name of the plugin owning the view encoded in it. |
public Dock | getDock() Get the dock that this view is in. |
public Icon | getIcon() Get the icon for this view. |
Main | getMain() |
public String | getName() Get the name of this view. |
Plugin | getPlugin() Get the plugin this view owned by. |
final public JPopupMenu | getPopupMenu() Get the popup menu. |
public boolean | isClosable() Called by
View.close in order to determine if this view can be
closed. |
public void | removeAction(Action a) This can be called by the class implementing the view in order to
remove view and/or plug-in specific actions to this view's popup
menu.
Note: this is only public in order for it to be accessible
to scripts that subclass this class. |
public void | removeCloseRunnable(Runnable closeRunnable) |
void | setDock(Dock dock) Set the dock this view is in. |
public void | setIcon(Icon icon) Set the icon for this view. |
public void | setName(String name) Set the name for this view. |
void | setPlugin(Plugin plugin) Set the plugin this view is from. |
public void | toForeground() Make this view the one that is currently in focus. |
public String | toString() |