|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.gui.NameBearerHandle
Class used to store the GUI information about an open entity (resource, controller, datastore). Such information will include icon to be used for tree components, popup menu for right click events, large and small views, etc.
Constructor Summary | |
NameBearerHandle(NameBearer target,
Window window)
|
Method Summary | |
void |
addProgressListener(ProgressListener l)
|
void |
addStatusListener(StatusListener l)
|
void |
datastoreClosed(CreoleEvent e)
Called when a DataStore has been closed |
void |
datastoreCreated(CreoleEvent e)
Called when a DataStore has been created |
void |
datastoreOpened(CreoleEvent e)
Called when a DataStore has been opened |
Action |
getCloseAction()
|
Icon |
getIcon()
|
JComponent |
getLargeView()
Returns the large view for this resource. |
JPopupMenu |
getPopup()
|
JComponent |
getSmallView()
Returns a GUI component to be used as a small viewer/editor, e.g. |
Object |
getTarget()
|
String |
getTitle()
|
String |
getTooltipText()
|
Window |
getWindow()
Returns the top level GUI component that is a parent to all other GUI components |
void |
processFinished()
Called when the process is finished. |
void |
progressChanged(int e)
Called when the progress has changed |
void |
removeProgressListener(ProgressListener l)
|
void |
removeStatusListener(StatusListener l)
|
void |
resourceLoaded(CreoleEvent e)
Called when a new Resource has been loaded into the system |
void |
resourceRenamed(Resource resource,
String oldName,
String newName)
Called when the creole register has renamed a resource.1 |
void |
resourceUnloaded(CreoleEvent e)
Called when a Resource has been removed from the system |
void |
setIcon(Icon icon)
|
void |
setTitle(String newTitle)
|
void |
setTooltipText(String text)
|
void |
statusChanged(String e)
Calleed when there a new status message. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NameBearerHandle(NameBearer target, Window window)
Method Detail |
public Icon getIcon()
getIcon
in interface Handle
public void setIcon(Icon icon)
public String getTitle()
getTitle
in interface Handle
public void setTitle(String newTitle)
public JComponent getSmallView()
getSmallView
in interface Handle
public JComponent getLargeView()
getLargeView
in interface Handle
public JPopupMenu getPopup()
getPopup
in interface Handle
public String getTooltipText()
getTooltipText
in interface Handle
public void setTooltipText(String text)
public Object getTarget()
getTarget
in interface Handle
public Action getCloseAction()
public String toString()
public void removeProgressListener(ProgressListener l)
public void addProgressListener(ProgressListener l)
public void removeStatusListener(StatusListener l)
public void addStatusListener(StatusListener l)
public void statusChanged(String e)
StatusListener
statusChanged
in interface StatusListener
e
- public void progressChanged(int e)
ProgressListener
progressChanged
in interface ProgressListener
e
- public void processFinished()
ProgressListener
processFinished
in interface ProgressListener
public Window getWindow()
Handle
getWindow
in interface Handle
public void resourceLoaded(CreoleEvent e)
CreoleListener
Resource
has been loaded into the system
resourceLoaded
in interface CreoleListener
public void resourceUnloaded(CreoleEvent e)
CreoleListener
Resource
has been removed from the system
resourceUnloaded
in interface CreoleListener
public void resourceRenamed(Resource resource, String oldName, String newName)
CreoleListener
resourceRenamed
in interface CreoleListener
public void datastoreOpened(CreoleEvent e)
CreoleListener
DataStore
has been opened
datastoreOpened
in interface CreoleListener
public void datastoreCreated(CreoleEvent e)
CreoleListener
DataStore
has been created
datastoreCreated
in interface CreoleListener
public void datastoreClosed(CreoleEvent e)
CreoleListener
DataStore
has been closed
datastoreClosed
in interface CreoleListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |