de.willuhn.datasource.GenericObject
, de.willuhn.datasource.GenericObjectNode
, Extendable
, Item
, java.rmi.Remote
MenuItemXml
, NavigationItemXml
public abstract class AbstractItemXml extends java.lang.Object implements Item
Modifier and Type | Field | Description |
---|---|---|
protected java.util.ArrayList<Item> |
childs |
|
protected de.willuhn.util.I18N |
i18n |
|
protected Item |
parent |
|
protected net.n3.nanoxml.IXMLElement |
path |
Modifier and Type | Method | Description |
---|---|---|
void |
addChild(Item i) |
Fuegt ein Kind hinzu.
|
boolean |
equals(de.willuhn.datasource.GenericObject other) |
|
Action |
getAction() |
Liefert die Aktion, der ausgeloest werden soll, wenn das Element aktiviert wird.
|
java.lang.Object |
getAttribute(java.lang.String name) |
|
java.lang.String[] |
getAttributeNames() |
|
de.willuhn.datasource.GenericIterator |
getChildren() |
|
java.lang.String |
getExtendableID() |
Liefert die ID, ueber die das Extandable von den Extensions identifiziert wird.
|
java.lang.String |
getID() |
|
java.lang.String |
getName() |
Anzuzeigender Name.
|
de.willuhn.datasource.GenericObjectNode |
getParent() |
|
de.willuhn.datasource.GenericIterator |
getPath() |
|
de.willuhn.datasource.GenericIterator |
getPossibleParents() |
|
java.lang.String |
getPrimaryAttribute() |
|
boolean |
hasChild(de.willuhn.datasource.GenericObjectNode object) |
|
boolean |
isEnabled() |
Liefert true, wenn das Element aktiv ist.
|
void |
setEnabled(boolean enabled,
boolean recursive) |
Aktiviert oder deaktiviert das Element.
|
protected Item parent
protected net.n3.nanoxml.IXMLElement path
protected de.willuhn.util.I18N i18n
protected java.util.ArrayList<Item> childs
public java.lang.String getName()
Item
getName
in interface Item
Item.getName()
public boolean isEnabled() throws java.rmi.RemoteException
Item
isEnabled
in interface Item
java.rmi.RemoteException
Item.isEnabled()
public void setEnabled(boolean enabled, boolean recursive) throws java.rmi.RemoteException
Item
setEnabled
in interface Item
recursive
- true, wenn auch die Kinder deaktiviert werden sollen.java.rmi.RemoteException
Item.setEnabled(boolean, boolean)
public Action getAction()
Item
getAction
in interface Item
Item.getAction()
public de.willuhn.datasource.GenericIterator getChildren() throws java.rmi.RemoteException
getChildren
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getChildren()
public boolean hasChild(de.willuhn.datasource.GenericObjectNode object) throws java.rmi.RemoteException
hasChild
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
public de.willuhn.datasource.GenericObjectNode getParent() throws java.rmi.RemoteException
getParent
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getParent()
public de.willuhn.datasource.GenericIterator getPossibleParents() throws java.rmi.RemoteException
getPossibleParents
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getPossibleParents()
public de.willuhn.datasource.GenericIterator getPath() throws java.rmi.RemoteException
getPath
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getPath()
public java.lang.Object getAttribute(java.lang.String name) throws java.rmi.RemoteException
getAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getAttribute(java.lang.String)
public java.lang.String getID()
getID
in interface de.willuhn.datasource.GenericObject
GenericObject.getID()
public java.lang.String getExtendableID()
Extendable
getExtendableID
in interface Extendable
Extendable.getExtendableID()
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
getPrimaryAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getPrimaryAttribute()
public boolean equals(de.willuhn.datasource.GenericObject other) throws java.rmi.RemoteException
equals
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.equals(de.willuhn.datasource.GenericObject)
public java.lang.String[] getAttributeNames() throws java.rmi.RemoteException
getAttributeNames
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getAttributeNames()
public void addChild(Item i) throws java.rmi.RemoteException
Item
addChild
in interface Item
i
- das Kind.java.rmi.RemoteException
Item.addChild(de.willuhn.jameica.gui.Item)