Class QrCodeScannerItem

  • All Implemented Interfaces:
    de.willuhn.datasource.GenericObject, de.willuhn.datasource.GenericObjectNode, de.willuhn.jameica.gui.extension.Extendable, de.willuhn.jameica.gui.Item, de.willuhn.jameica.gui.NavigationItem, java.rmi.Remote

    public class QrCodeScannerItem
    extends java.lang.Object
    implements de.willuhn.jameica.gui.NavigationItem
    QRCodeScanner Navigation Items
    Author:
    Frank Münster
    • Constructor Summary

      Constructors 
      Constructor Description
      QrCodeScannerItem​(de.willuhn.jameica.gui.NavigationItem item, java.lang.String navitext, de.willuhn.jameica.gui.Action action)
      Erstellt ein QrCodeScanner Navigation Item.
      Action wird mit null und enabled mit true initialisiert.
      QrCodeScannerItem​(de.willuhn.jameica.gui.NavigationItem item, java.lang.String navitext, de.willuhn.jameica.gui.Action action, java.lang.String icon)
      Erstellt ein QrCodeScanner Navigation Item.
      Action wird mit null und enabled mit true initialisiert.
      QrCodeScannerItem​(de.willuhn.jameica.gui.NavigationItem item, java.lang.String navitext, de.willuhn.jameica.gui.Action action, java.lang.String icon, java.lang.Boolean enabled)
      Erstellt ein QrCodeScanner Navigation Item.
      Action wird mit null und enabled mit true initialisiert.
    • Constructor Detail

      • QrCodeScannerItem

        public QrCodeScannerItem​(de.willuhn.jameica.gui.NavigationItem item,
                                 java.lang.String navitext,
                                 de.willuhn.jameica.gui.Action action)
        Erstellt ein QrCodeScanner Navigation Item.
        Action wird mit null und enabled mit true initialisiert.
        Parameters:
        item - ist das Elternelement des Navigationsitems
        navitext - der Text, der angezeigt wird
        action - die KLasse, die das das Interface Action implemtiert und durch das NavigationItem ausgeführt werden soll.
      • QrCodeScannerItem

        public QrCodeScannerItem​(de.willuhn.jameica.gui.NavigationItem item,
                                 java.lang.String navitext,
                                 de.willuhn.jameica.gui.Action action,
                                 java.lang.String icon)
        Erstellt ein QrCodeScanner Navigation Item.
        Action wird mit null und enabled mit true initialisiert.
        Parameters:
        item - ist das Elternelement des Navigationsitems
        navitext - der Text, der angezeigt wird
        action - die KLasse, die das das Interface Action implemtiert und durch das NavigationItem ausgeführt werden soll.
        icon - String des Icon-Bildes des NavigationItems
      • QrCodeScannerItem

        public QrCodeScannerItem​(de.willuhn.jameica.gui.NavigationItem item,
                                 java.lang.String navitext,
                                 de.willuhn.jameica.gui.Action action,
                                 java.lang.String icon,
                                 java.lang.Boolean enabled)
        Erstellt ein QrCodeScanner Navigation Item.
        Action wird mit null und enabled mit true initialisiert.
        Parameters:
        item - ist das Elternelement des Navigationsitems
        navitext - der Text, der angezeigt wird
        action - die KLasse, die das das Interface Action implementiert und durch das NavigationItem ausgeführt werden soll.
        icon - String des Icon-Bildes des NavigationItems
        enabled - setzt den Aktiv-Status des Items
    • Method Detail

      • addChild

        public void addChild​(de.willuhn.jameica.gui.Item item)
                      throws java.rmi.RemoteException
        Specified by:
        addChild in interface de.willuhn.jameica.gui.Item
        Throws:
        java.rmi.RemoteException
        See Also:
        Item.addChild(de.willuhn.jameica.gui.Item)
      • equals

        public boolean equals​(de.willuhn.datasource.GenericObject arg0)
                       throws java.rmi.RemoteException
        Specified by:
        equals in interface de.willuhn.datasource.GenericObject
        Throws:
        java.rmi.RemoteException
        See Also:
        GenericObject.equals(de.willuhn.datasource. GenericObject)
      • getAction

        public de.willuhn.jameica.gui.Action getAction()
                                                throws java.rmi.RemoteException
        Specified by:
        getAction in interface de.willuhn.jameica.gui.Item
        Throws:
        java.rmi.RemoteException
        See Also:
        Item.getAction()
      • getAttribute

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

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

        public de.willuhn.datasource.GenericIterator<?> getChildren()
                                                             throws java.rmi.RemoteException
        Specified by:
        getChildren in interface de.willuhn.datasource.GenericObjectNode
        Throws:
        java.rmi.RemoteException
        See Also:
        GenericObjectNode.getChildren()
      • getExtendableID

        public java.lang.String getExtendableID()
        Specified by:
        getExtendableID in interface de.willuhn.jameica.gui.extension.Extendable
        See Also:
        Extendable.getExtendableID()
      • getIconClose

        public org.eclipse.swt.graphics.Image getIconClose()
                                                    throws java.rmi.RemoteException
        Specified by:
        getIconClose in interface de.willuhn.jameica.gui.NavigationItem
        Throws:
        java.rmi.RemoteException
        See Also:
        NavigationItem.getIconClose()
      • getIconOpen

        public org.eclipse.swt.graphics.Image getIconOpen()
                                                   throws java.rmi.RemoteException
        Specified by:
        getIconOpen in interface de.willuhn.jameica.gui.NavigationItem
        Throws:
        java.rmi.RemoteException
        See Also:
        NavigationItem.getIconOpen()
      • getID

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

        public java.lang.String getName()
        Specified by:
        getName in interface de.willuhn.jameica.gui.Item
        See Also:
        Item.getName()
      • getParent

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

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

        public de.willuhn.datasource.GenericIterator<?> getPossibleParents()
                                                                    throws java.rmi.RemoteException
        Specified by:
        getPossibleParents in interface de.willuhn.datasource.GenericObjectNode
        Throws:
        java.rmi.RemoteException
        See Also:
        GenericObjectNode.getPossibleParents()
      • getPrimaryAttribute

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

        public boolean hasChild​(de.willuhn.datasource.GenericObjectNode arg0)
                         throws java.rmi.RemoteException
        Specified by:
        hasChild in interface de.willuhn.datasource.GenericObjectNode
        Throws:
        java.rmi.RemoteException
        See Also:
        GenericObjectNode.hasChild(de.willuhn.datasource .GenericObjectNode)
      • isEnabled

        public boolean isEnabled()
                          throws java.rmi.RemoteException
        Specified by:
        isEnabled in interface de.willuhn.jameica.gui.Item
        Throws:
        java.rmi.RemoteException
        See Also:
        Item.isEnabled()
      • isExpanded

        public boolean isExpanded()
                           throws java.rmi.RemoteException
        Specified by:
        isExpanded in interface de.willuhn.jameica.gui.NavigationItem
        Throws:
        java.rmi.RemoteException
        See Also:
        NavigationItem.isExpanded()
      • setEnabled

        public void setEnabled​(boolean enabled,
                               boolean recursive)
                        throws java.rmi.RemoteException
        Specified by:
        setEnabled in interface de.willuhn.jameica.gui.Item
        Throws:
        java.rmi.RemoteException
        See Also:
        Item.setEnabled(boolean, boolean)