Package de.willuhn.jameica.gui
Class AbstractItemXml
java.lang.Object
de.willuhn.jameica.gui.AbstractItemXml
- All Implemented Interfaces:
de.willuhn.datasource.GenericObject
,de.willuhn.datasource.GenericObjectNode
,Extendable
,Item
,Remote
- Direct Known Subclasses:
MenuItemXml
,NavigationItemXml
- Author:
- willuhn
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
Fuegt ein Kind hinzu.boolean
equals
(de.willuhn.datasource.GenericObject other) Liefert die Aktion, der ausgeloest werden soll, wenn das Element aktiviert wird.getAttribute
(String name) String[]
de.willuhn.datasource.GenericIterator
Liefert die ID, ueber die das Extandable von den Extensions identifiziert wird.getID()
getName()
Anzuzeigender Name.de.willuhn.datasource.GenericObjectNode
de.willuhn.datasource.GenericIterator
getPath()
de.willuhn.datasource.GenericIterator
boolean
hasChild
(de.willuhn.datasource.GenericObjectNode object) boolean
Liefert true, wenn das Element aktiv ist.void
setEnabled
(boolean enabled, boolean recursive) Aktiviert oder deaktiviert das Element.
-
Field Details
-
parent
-
path
protected net.n3.nanoxml.IXMLElement path -
i18n
protected de.willuhn.util.I18N i18n -
childs
-
-
Method Details
-
getName
Description copied from interface:Item
Anzuzeigender Name. -
isEnabled
Description copied from interface:Item
Liefert true, wenn das Element aktiv ist.- Specified by:
isEnabled
in interfaceItem
- Returns:
- true, wenn es aktiv ist.
- Throws:
RemoteException
- See Also:
-
setEnabled
Description copied from interface:Item
Aktiviert oder deaktiviert das Element.- Specified by:
setEnabled
in interfaceItem
- Parameters:
enabled
-recursive
- true, wenn auch die Kinder deaktiviert werden sollen.- Throws:
RemoteException
- See Also:
-
getAction
Description copied from interface:Item
Liefert die Aktion, der ausgeloest werden soll, wenn das Element aktiviert wird. -
getChildren
- Specified by:
getChildren
in interfacede.willuhn.datasource.GenericObjectNode
- Throws:
RemoteException
- See Also:
-
hasChild
- Specified by:
hasChild
in interfacede.willuhn.datasource.GenericObjectNode
- Throws:
RemoteException
- See Also:
-
getParent
- Specified by:
getParent
in interfacede.willuhn.datasource.GenericObjectNode
- Throws:
RemoteException
- See Also:
-
getPossibleParents
- Specified by:
getPossibleParents
in interfacede.willuhn.datasource.GenericObjectNode
- Throws:
RemoteException
- See Also:
-
getPath
- Specified by:
getPath
in interfacede.willuhn.datasource.GenericObjectNode
- Throws:
RemoteException
- See Also:
-
getAttribute
- Specified by:
getAttribute
in interfacede.willuhn.datasource.GenericObject
- Throws:
RemoteException
- See Also:
-
getID
- Specified by:
getID
in interfacede.willuhn.datasource.GenericObject
- See Also:
-
getExtendableID
Description copied from interface:Extendable
Liefert die ID, ueber die das Extandable von den Extensions identifiziert wird.- Specified by:
getExtendableID
in interfaceExtendable
- Returns:
- Liefert die ID des Extendable.
- See Also:
-
getPrimaryAttribute
- Specified by:
getPrimaryAttribute
in interfacede.willuhn.datasource.GenericObject
- Throws:
RemoteException
- See Also:
-
equals
- Specified by:
equals
in interfacede.willuhn.datasource.GenericObject
- Throws:
RemoteException
- See Also:
-
getAttributeNames
- Specified by:
getAttributeNames
in interfacede.willuhn.datasource.GenericObject
- Throws:
RemoteException
- See Also:
-
addChild
Description copied from interface:Item
Fuegt ein Kind hinzu.- Specified by:
addChild
in interfaceItem
- Parameters:
i
- das Kind.- Throws:
RemoteException
- See Also:
-