org.enhydra.jawe.components.infobar
Class InfoBarController
java.lang.Object
org.enhydra.jawe.components.infobar.InfoBarController
- All Implemented Interfaces:
- java.util.Observer, ChoiceButtonListener, JaWEComponent
public class InfoBarController
- extends java.lang.Object
- implements JaWEComponent, java.util.Observer, ChoiceButtonListener
- Author:
- Miroslav Popov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected java.lang.String type
updateInProgress
protected boolean updateInProgress
settings
protected InfoBarSettings settings
panel
protected InfoBar panel
InfoBarController
public InfoBarController(JaWEComponentSettings settings)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSettings
public JaWEComponentSettings getSettings()
- Specified by:
getSettings
in interface JaWEComponent
getInfoBarSettings
public InfoBarSettings getInfoBarSettings()
update
public void update(java.util.Observable o,
java.lang.Object arg)
- Specified by:
update
in interface java.util.Observer
init
protected void init()
getView
public JaWEComponentView getView()
- Specified by:
getView
in interface JaWEComponent
getType
public java.lang.String getType()
- Specified by:
getType
in interface JaWEComponent
setType
public void setType(java.lang.String type)
- Specified by:
setType
in interface JaWEComponent
getName
public java.lang.String getName()
- Specified by:
getName
in interface JaWEComponent
adjustXPDL
public boolean adjustXPDL(org.enhydra.shark.xpdl.elements.Package pkg)
- Specified by:
adjustXPDL
in interface JaWEComponent
checkValidity
public java.util.List checkValidity(org.enhydra.shark.xpdl.XMLElement el,
boolean fullCheck)
- Specified by:
checkValidity
in interface JaWEComponent
canCreateElement
public boolean canCreateElement(org.enhydra.shark.xpdl.XMLCollection col)
- Specified by:
canCreateElement
in interface JaWEComponent
canInsertElement
public boolean canInsertElement(org.enhydra.shark.xpdl.XMLCollection col,
org.enhydra.shark.xpdl.XMLElement el)
- Specified by:
canInsertElement
in interface JaWEComponent
canModifyElement
public boolean canModifyElement(org.enhydra.shark.xpdl.XMLElement el)
- Specified by:
canModifyElement
in interface JaWEComponent
canRemoveElement
public boolean canRemoveElement(org.enhydra.shark.xpdl.XMLCollection col,
org.enhydra.shark.xpdl.XMLElement el)
- Specified by:
canRemoveElement
in interface JaWEComponent
canDuplicateElement
public boolean canDuplicateElement(org.enhydra.shark.xpdl.XMLCollection col,
org.enhydra.shark.xpdl.XMLElement el)
- Specified by:
canDuplicateElement
in interface JaWEComponent
canRepositionElement
public boolean canRepositionElement(org.enhydra.shark.xpdl.XMLCollection col,
org.enhydra.shark.xpdl.XMLElement el)
- Specified by:
canRepositionElement
in interface JaWEComponent
selectionChanged
public void selectionChanged(ChoiceButton cbutton,
java.lang.Object change)
- Specified by:
selectionChanged
in interface ChoiceButtonListener
getSelectedObject
public java.lang.Object getSelectedObject(ChoiceButton cbutton)
- Specified by:
getSelectedObject
in interface ChoiceButtonListener
getChoices
public java.util.List getChoices(ChoiceButton cbutton)
- Specified by:
getChoices
in interface ChoiceButtonListener
setUpdateInProgress
public void setUpdateInProgress(boolean inProgress)
- Specified by:
setUpdateInProgress
in interface JaWEComponent
isUpdateInProgress
public boolean isUpdateInProgress()
- Specified by:
isUpdateInProgress
in interface JaWEComponent