|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectti.chimera.Resource
ti.chimera.Plugin.ToolBarResource
A tool-bar-resource adds a tool-bar when installed, and removes when uninstalled.
Constructor Summary | |
Plugin.ToolBarResource(javax.swing.JToolBar tb,
boolean managed)
Class Constructor. |
|
Plugin.ToolBarResource(Plugin.ToolBarFactory tbf,
boolean managed)
Class Constructor, which can be used to defer creating the toolbar until this resource is installed. |
|
Plugin.ToolBarResource(oscript.data.Value fxn,
boolean managed)
Class Constructor, which can be used to defer creating the toolbar until this resource is installed. |
Method Summary | |
void |
install()
This method is called when the resource is installed. |
java.lang.String |
toString()
For debugging. |
void |
uninstall()
This method is called when the resource is uninstalled. |
Methods inherited from class ti.chimera.Resource |
isManaged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Plugin.ToolBarResource(Plugin.ToolBarFactory tbf, boolean managed)
tbf
- the tool-bar-factorymanaged
- is this a managed resourcepublic Plugin.ToolBarResource(oscript.data.Value fxn, boolean managed)
fxn
- the script function that takes no args and
returns a tool-bar instancemanaged
- is this a managed resourcepublic Plugin.ToolBarResource(javax.swing.JToolBar tb, boolean managed)
tb
- the tool-barmanaged
- is this a managed viewMethod Detail |
public void install()
Resource
install
in class Resource
Resource.uninstall()
public void uninstall()
Resource
Resource.install()
.
uninstall
in class Resource
Resource.install()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |