Package de.willuhn.jameica.gui
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 de.willuhn.jameica.gui.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.Image
Liefert das Bild, welches angezeigt wird, wenn das Element geschlossen wird.org.eclipse.swt.graphics.Image
Liefert das Bild, welches angezeigt wird, wenn das Element geoeffnet wird.boolean
Liefert true, wenn das Element aufgeklappt sein soll.void
setEnabled
(boolean enabled, boolean recursive) Ueberschrieben, um dabei auch links die Navigation anzupassen.Methods inherited from class de.willuhn.jameica.gui.AbstractItemXml
addChild, equals, getAction, getAttribute, getAttributeNames, getChildren, getExtendableID, getID, getName, getParent, getPath, getPossibleParents, getPrimaryAttribute, hasChild, isEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.willuhn.jameica.gui.extension.Extendable
getExtendableID
Methods inherited from interface de.willuhn.datasource.GenericObject
equals, getAttribute, getAttributeNames, getID, getPrimaryAttribute
Methods 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:NavigationItem
Liefert das Bild, welches angezeigt wird, wenn das Element geoeffnet wird.- Specified by:
getIconOpen
in interfaceNavigationItem
- Returns:
- das Bild.
- See Also:
-
getIconClose
public org.eclipse.swt.graphics.Image getIconClose()Description copied from interface:NavigationItem
Liefert das Bild, welches angezeigt wird, wenn das Element geschlossen wird.- Specified by:
getIconClose
in interfaceNavigationItem
- Returns:
- das Bild.
- See Also:
-
isExpanded
Description copied from interface:NavigationItem
Liefert true, wenn das Element aufgeklappt sein soll.- Specified by:
isExpanded
in interfaceNavigationItem
- Returns:
- true, wenn es aufgeklappt sein soll.
- Throws:
RemoteException
- See Also:
-
setEnabled
Ueberschrieben, um dabei auch links die Navigation anzupassen.- Specified by:
setEnabled
in interfaceItem
- Overrides:
setEnabled
in classAbstractItemXml
- Parameters:
enabled
-recursive
- true, wenn auch die Kinder deaktiviert werden sollen.- Throws:
RemoteException
- See Also:
-