OBEROn SDK

com.oberon.ooql.sdk
Class MenuItem

java.lang.Object
  extended by com.oberon.ooql.sdk.OBBase
      extended by com.oberon.ooql.sdk.MenuItem
All Implemented Interfaces:
java.io.Serializable

public class MenuItem
extends OBBase

See Also:
Serialized Form

Nested Class Summary
static interface MenuItem.OnMenuItemClickListener
           
 
Constructor Summary
MenuItem(java.lang.String name)
           
 
Method Summary
 void addSubItem(MenuItem menuitem)
           
 java.lang.String getAlt()
           
 java.lang.String getHRef()
           
 byte[] getIcon()
           
 int getLevel()
           
 java.lang.String getName()
          Return the object name / code
 MenuItem.OnMenuItemClickListener getOnMenuItemClickListener()
           
 java.lang.String getProperty(java.lang.String propertyName, java.util.Vector<java.lang.Object> filterArgs, java.lang.String token, Framework framework)
          Get a property for the object by its OOQL identifier
 java.util.Vector<MenuItem> getSubItems()
           
 java.util.Vector<?> getTargetNames(java.lang.String composedName, java.util.Vector<java.lang.Object> filterArgs, Framework framework)
          Return a Vector of administrative object names extracted by using an OOQL selector
 java.lang.String getTranslatedLabel()
           
 boolean isExecutable()
          Check if the command is or not executable
 boolean isExpanded()
           
 void setAlt(java.lang.String alt)
           
 void setExecutable(boolean executable)
           
 void setExpanded(boolean expanded)
           
 void setHRef(java.lang.String hRef)
           
 void setIcon(byte[] icon)
           
 void setLevel(int level)
           
 void setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener listerner)
           
 void setSubItems(java.util.Vector<MenuItem> subItems)
           
 void setTranslatedLabel(java.lang.String label)
           
 java.lang.String toString()
          Return the MenuItem object basic properties as a single String
 
Methods inherited from class com.oberon.ooql.sdk.OBBase
addChange, addUniqueChange, ChangesFromXML, ChangesToXML, getChanges, getChangesAsString, getId, isLinked, removeChange, resetChanges, setId, setLinked
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MenuItem

public MenuItem(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Description copied from class: OBBase
Return the object name / code

Specified by:
getName in class OBBase

setIcon

public void setIcon(byte[] icon)

getIcon

public byte[] getIcon()

setHRef

public void setHRef(java.lang.String hRef)

getHRef

public java.lang.String getHRef()

setAlt

public void setAlt(java.lang.String alt)

getAlt

public java.lang.String getAlt()

setTranslatedLabel

public void setTranslatedLabel(java.lang.String label)

getTranslatedLabel

public java.lang.String getTranslatedLabel()

setLevel

public void setLevel(int level)

getLevel

public int getLevel()

setExecutable

public void setExecutable(boolean executable)

isExecutable

public boolean isExecutable()
Check if the command is or not executable


setOnMenuItemClickListener

public void setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener listerner)

getOnMenuItemClickListener

public MenuItem.OnMenuItemClickListener getOnMenuItemClickListener()

getSubItems

public java.util.Vector<MenuItem> getSubItems()

addSubItem

public void addSubItem(MenuItem menuitem)

setSubItems

public void setSubItems(java.util.Vector<MenuItem> subItems)

setExpanded

public void setExpanded(boolean expanded)

isExpanded

public boolean isExpanded()

getProperty

public java.lang.String getProperty(java.lang.String propertyName,
                                    java.util.Vector<java.lang.Object> filterArgs,
                                    java.lang.String token,
                                    Framework framework)
Description copied from class: OBBase
Get a property for the object by its OOQL identifier

Specified by:
getProperty in class OBBase

getTargetNames

public java.util.Vector<?> getTargetNames(java.lang.String composedName,
                                          java.util.Vector<java.lang.Object> filterArgs,
                                          Framework framework)
Description copied from class: OBBase
Return a Vector of administrative object names extracted by using an OOQL selector

Specified by:
getTargetNames in class OBBase

toString

public java.lang.String toString()
Return the MenuItem object basic properties as a single String

Overrides:
toString in class java.lang.Object

OBEROn SDK

Copyright © 2008-2014 Mirko Solazzi. All Rights Reserved.