public class QrCodeScannerItem
extends java.lang.Object
implements de.willuhn.jameica.gui.NavigationItem
Constructor and Description |
---|
QrCodeScannerItem(de.willuhn.jameica.gui.NavigationItem item,
java.lang.String navitext,
de.willuhn.jameica.gui.Action action)
Erstellt ein QrCodeScanner Navigation Item.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(de.willuhn.jameica.gui.Item i) |
boolean |
equals(de.willuhn.datasource.GenericObject arg0)
(nicht-Javadoc)
|
de.willuhn.jameica.gui.Action |
getAction() |
java.lang.Object |
getAttribute(java.lang.String arg0) |
java.lang.String[] |
getAttributeNames() |
de.willuhn.datasource.GenericIterator |
getChildren() |
java.lang.String |
getExtendableID() |
org.eclipse.swt.graphics.Image |
getIconClose() |
org.eclipse.swt.graphics.Image |
getIconOpen() |
java.lang.String |
getID() |
java.lang.String |
getName() |
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 arg0) |
boolean |
isEnabled() |
boolean |
isExpanded() |
void |
setEnabled(boolean enabled,
boolean recursive) |
public QrCodeScannerItem(de.willuhn.jameica.gui.NavigationItem item, java.lang.String navitext, de.willuhn.jameica.gui.Action action)
item
- ist das Elternelement des Navigationsitemsnavitext
- der Text, der angezeigt wirdaction
- die KLasse, die das das Interface Action implemtiert
und durch das NavigationItem ausgeführt werden soll.public QrCodeScannerItem(de.willuhn.jameica.gui.NavigationItem item, java.lang.String navitext, de.willuhn.jameica.gui.Action action, java.lang.String icon)
item
- ist das Elternelement des Navigationsitemsnavitext
- der Text, der angezeigt wirdaction
- die KLasse, die das das Interface Action implemtiert
und durch das NavigationItem ausgeführt werden soll.icon
- String des Icon-Bildes des NavigationItemspublic 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)
item
- ist das Elternelement des Navigationsitemsnavitext
- der Text, der angezeigt wirdaction
- die KLasse, die das das Interface Action implemtiert
und durch das NavigationItem ausgeführt werden soll.icon
- String des Icon-Bildes des NavigationItemsenabled
- setzt den Aktiv-Status des Itemspublic java.lang.String getName()
getName
in interface de.willuhn.jameica.gui.Item
public de.willuhn.jameica.gui.Action getAction() throws java.rmi.RemoteException
getAction
in interface de.willuhn.jameica.gui.Item
java.rmi.RemoteException
public void addChild(de.willuhn.jameica.gui.Item i) throws java.rmi.RemoteException
addChild
in interface de.willuhn.jameica.gui.Item
java.rmi.RemoteException
public boolean isEnabled() throws java.rmi.RemoteException
isEnabled
in interface de.willuhn.jameica.gui.Item
java.rmi.RemoteException
public void setEnabled(boolean enabled, boolean recursive) throws java.rmi.RemoteException
setEnabled
in interface de.willuhn.jameica.gui.Item
java.rmi.RemoteException
public de.willuhn.datasource.GenericIterator getChildren() throws java.rmi.RemoteException
getChildren
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
public de.willuhn.datasource.GenericObjectNode getParent() throws java.rmi.RemoteException
getParent
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
public de.willuhn.datasource.GenericIterator getPath() throws java.rmi.RemoteException
getPath
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
public de.willuhn.datasource.GenericIterator getPossibleParents() throws java.rmi.RemoteException
getPossibleParents
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
public boolean hasChild(de.willuhn.datasource.GenericObjectNode arg0) throws java.rmi.RemoteException
hasChild
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
public boolean equals(de.willuhn.datasource.GenericObject arg0) throws java.rmi.RemoteException
equals
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
de.willuhn.datasource.GenericObject#equals(de.willuhn.datasource.
GenericObject)
public java.lang.Object getAttribute(java.lang.String arg0) throws java.rmi.RemoteException
getAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
public java.lang.String[] getAttributeNames() throws java.rmi.RemoteException
getAttributeNames
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
public java.lang.String getID()
getID
in interface de.willuhn.datasource.GenericObject
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
getPrimaryAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
public java.lang.String getExtendableID()
getExtendableID
in interface de.willuhn.jameica.gui.extension.Extendable
public org.eclipse.swt.graphics.Image getIconOpen() throws java.rmi.RemoteException
getIconOpen
in interface de.willuhn.jameica.gui.NavigationItem
java.rmi.RemoteException
public org.eclipse.swt.graphics.Image getIconClose() throws java.rmi.RemoteException
getIconClose
in interface de.willuhn.jameica.gui.NavigationItem
java.rmi.RemoteException
public boolean isExpanded() throws java.rmi.RemoteException
isExpanded
in interface de.willuhn.jameica.gui.NavigationItem
java.rmi.RemoteException