Class NavigationItemXml
java.lang.Object
de.willuhn.jameica.gui.AbstractItemXml
de.willuhn.jameica.gui.NavigationItemXml
- All Implemented Interfaces:
de.willuhn.datasource.GenericObject, de.willuhn.datasource.GenericObjectNode, Extendable, Item, NavigationItem, Remote
XML-Implementierung eines Navigations-Elements.
-
Field Summary
Fields inherited from class AbstractItemXml
childs, i18n, parent, path -
Constructor Summary
ConstructorsConstructorDescriptionNavigationItemXml(NavigationItem parent, net.n3.nanoxml.IXMLElement path, de.willuhn.util.I18N i18n) ct. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.graphics.ImageLiefert das Bild, welches angezeigt wird, wenn das Element geschlossen wird.org.eclipse.swt.graphics.ImageLiefert das Bild, welches angezeigt wird, wenn das Element geoeffnet wird.booleanLiefert true, wenn das Element aufgeklappt sein soll.voidsetEnabled(boolean enabled, boolean recursive) Ueberschrieben, um dabei auch links die Navigation anzupassen.Methods inherited from class AbstractItemXml
addChild, equals, getAction, getAttribute, getAttributeNames, getChildren, getExtendableID, getID, getName, getParent, getPath, getPossibleParents, getPrimaryAttribute, hasChild, isEnabledMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Extendable
getExtendableIDMethods inherited from interface de.willuhn.datasource.GenericObject
equals, getAttribute, getAttributeNames, getID, getPrimaryAttributeMethods inherited from interface de.willuhn.datasource.GenericObjectNode
getChildren, getParent, getPath, getPossibleParents, hasChild
-
Constructor Details
-
Method Details
-
getIconOpen
public org.eclipse.swt.graphics.Image getIconOpen()Description copied from interface:NavigationItemLiefert das Bild, welches angezeigt wird, wenn das Element geoeffnet wird.- Specified by:
getIconOpenin interfaceNavigationItem- Returns:
- das Bild.
- See Also:
-
getIconClose
public org.eclipse.swt.graphics.Image getIconClose()Description copied from interface:NavigationItemLiefert das Bild, welches angezeigt wird, wenn das Element geschlossen wird.- Specified by:
getIconClosein interfaceNavigationItem- Returns:
- das Bild.
- See Also:
-
isExpanded
Description copied from interface:NavigationItemLiefert true, wenn das Element aufgeklappt sein soll.- Specified by:
isExpandedin interfaceNavigationItem- Returns:
- true, wenn es aufgeklappt sein soll.
- Throws:
RemoteException- See Also:
-
setEnabled
Ueberschrieben, um dabei auch links die Navigation anzupassen.- Specified by:
setEnabledin interfaceItem- Overrides:
setEnabledin classAbstractItemXml- Parameters:
enabled-recursive- true, wenn auch die Kinder deaktiviert werden sollen.- Throws:
RemoteException- See Also:
-