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

public abstract class AbstractItemXml extends Object implements Item
Author:
willuhn
  • Field Details

    • parent

      protected Item parent
    • path

      protected net.n3.nanoxml.IXMLElement path
    • i18n

      protected de.willuhn.util.I18N i18n
    • childs

      protected ArrayList<Item> childs
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Item
      Anzuzeigender Name.
      Specified by:
      getName in interface Item
      Returns:
      Name.
      See Also:
    • isEnabled

      public boolean isEnabled() throws RemoteException
      Description copied from interface: Item
      Liefert true, wenn das Element aktiv ist.
      Specified by:
      isEnabled in interface Item
      Returns:
      true, wenn es aktiv ist.
      Throws:
      RemoteException
      See Also:
    • setEnabled

      public void setEnabled(boolean enabled, boolean recursive) throws RemoteException
      Description copied from interface: Item
      Aktiviert oder deaktiviert das Element.
      Specified by:
      setEnabled in interface Item
      Parameters:
      enabled -
      recursive - true, wenn auch die Kinder deaktiviert werden sollen.
      Throws:
      RemoteException
      See Also:
    • getAction

      public Action getAction()
      Description copied from interface: Item
      Liefert die Aktion, der ausgeloest werden soll, wenn das Element aktiviert wird.
      Specified by:
      getAction in interface Item
      Returns:
      Action.
      See Also:
    • getChildren

      public de.willuhn.datasource.GenericIterator getChildren() throws RemoteException
      Specified by:
      getChildren in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getChildren()
    • hasChild

      public boolean hasChild(de.willuhn.datasource.GenericObjectNode object) throws RemoteException
      Specified by:
      hasChild in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
    • getParent

      public de.willuhn.datasource.GenericObjectNode getParent() throws RemoteException
      Specified by:
      getParent in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getParent()
    • getPossibleParents

      public de.willuhn.datasource.GenericIterator getPossibleParents() throws RemoteException
      Specified by:
      getPossibleParents in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getPossibleParents()
    • getPath

      public de.willuhn.datasource.GenericIterator getPath() throws RemoteException
      Specified by:
      getPath in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getPath()
    • getAttribute

      public Object getAttribute(String name) throws RemoteException
      Specified by:
      getAttribute in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getAttribute(java.lang.String)
    • getID

      public String getID()
      Specified by:
      getID in interface de.willuhn.datasource.GenericObject
      See Also:
      • GenericObject.getID()
    • getExtendableID

      public String getExtendableID()
      Description copied from interface: Extendable
      Liefert die ID, ueber die das Extandable von den Extensions identifiziert wird.
      Specified by:
      getExtendableID in interface Extendable
      Returns:
      Liefert die ID des Extendable.
      See Also:
    • getPrimaryAttribute

      public String getPrimaryAttribute() throws RemoteException
      Specified by:
      getPrimaryAttribute in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getPrimaryAttribute()
    • equals

      public boolean equals(de.willuhn.datasource.GenericObject other) throws RemoteException
      Specified by:
      equals in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.equals(de.willuhn.datasource.GenericObject)
    • getAttributeNames

      public String[] getAttributeNames() throws RemoteException
      Specified by:
      getAttributeNames in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getAttributeNames()
    • addChild

      public void addChild(Item i) throws RemoteException
      Description copied from interface: Item
      Fuegt ein Kind hinzu.
      Specified by:
      addChild in interface Item
      Parameters:
      i - das Kind.
      Throws:
      RemoteException
      See Also: