public abstract class AbstractItemXml extends java.lang.Object implements Item
| Modifier and Type | Field and 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 and 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()
ItemgetName in interface ItemItem.getName()public boolean isEnabled()
throws java.rmi.RemoteException
ItemisEnabled in interface Itemjava.rmi.RemoteExceptionItem.isEnabled()public void setEnabled(boolean enabled,
boolean recursive)
throws java.rmi.RemoteException
ItemsetEnabled in interface Itemrecursive - true, wenn auch die Kinder deaktiviert werden sollen.java.rmi.RemoteExceptionItem.setEnabled(boolean, boolean)public Action getAction()
ItemgetAction in interface ItemItem.getAction()public de.willuhn.datasource.GenericIterator getChildren()
throws java.rmi.RemoteException
getChildren in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getChildren()public boolean hasChild(de.willuhn.datasource.GenericObjectNode object)
throws java.rmi.RemoteException
hasChild in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)public de.willuhn.datasource.GenericObjectNode getParent()
throws java.rmi.RemoteException
getParent in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getParent()public de.willuhn.datasource.GenericIterator getPossibleParents()
throws java.rmi.RemoteException
getPossibleParents in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getPossibleParents()public de.willuhn.datasource.GenericIterator getPath()
throws java.rmi.RemoteException
getPath in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getPath()public java.lang.Object getAttribute(java.lang.String name)
throws java.rmi.RemoteException
getAttribute in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getAttribute(java.lang.String)public java.lang.String getID()
getID in interface de.willuhn.datasource.GenericObjectGenericObject.getID()public java.lang.String getExtendableID()
ExtendablegetExtendableID in interface ExtendableExtendable.getExtendableID()public java.lang.String getPrimaryAttribute()
throws java.rmi.RemoteException
getPrimaryAttribute in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getPrimaryAttribute()public boolean equals(de.willuhn.datasource.GenericObject other)
throws java.rmi.RemoteException
equals in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.equals(de.willuhn.datasource.GenericObject)public java.lang.String[] getAttributeNames()
throws java.rmi.RemoteException
getAttributeNames in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getAttributeNames()public void addChild(Item i) throws java.rmi.RemoteException
ItemaddChild in interface Itemi - das Kind.java.rmi.RemoteExceptionItem.addChild(de.willuhn.jameica.gui.Item)