|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.path.statusbar.StatusBarLabel
public class StatusBarLabel
Status bar component that displays a JLabel, whose content is bound
to the application using a LabelConnector.
| Constructor Summary | |
|---|---|
StatusBarLabel()
|
|
| Method Summary | |
|---|---|
protected void |
connect(ActionContext actionContext,
JLabel label)
Uses the connector to bind the
label test |
JComponent |
createComponent(ActionContext actionContext)
Creates the component for the given action context. |
GUIAction |
getAction()
Gets the action to execute when the user clicks on the label. |
LabelConnector |
getConnector()
Gets the connector for the label text |
void |
setAction(GUIAction action)
Sets the action to execute when the user clicks on the label. |
void |
setConnector(LabelConnector connector)
Sets the connector for the label text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusBarLabel()
| Method Detail |
|---|
protected void connect(ActionContext actionContext,
JLabel label)
connector to bind the
label test
actionContext - Action context to bind intolabel - Label to bindLabelConnector.connect(ActionContext, JLabel)public JComponent createComponent(ActionContext actionContext)
StatusBarComponent
createComponent in interface StatusBarComponentactionContext - Action context to create the component into.
public GUIAction getAction()
null if no action must be executedpublic LabelConnector getConnector()
public void setAction(GUIAction action)
action - Action or null if no action must be executedpublic void setConnector(LabelConnector connector)
connector - Label connector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||