|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.ooql.sdk.OBBase com.oberon.ooql.sdk.MenuItem
public class MenuItem
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 |
---|
public MenuItem(java.lang.String name)
Method Detail |
---|
public java.lang.String getName()
OBBase
getName
in class OBBase
public void setIcon(byte[] icon)
public byte[] getIcon()
public void setHRef(java.lang.String hRef)
public java.lang.String getHRef()
public void setAlt(java.lang.String alt)
public java.lang.String getAlt()
public void setTranslatedLabel(java.lang.String label)
public java.lang.String getTranslatedLabel()
public void setLevel(int level)
public int getLevel()
public void setExecutable(boolean executable)
public boolean isExecutable()
public void setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener listerner)
public MenuItem.OnMenuItemClickListener getOnMenuItemClickListener()
public java.util.Vector<MenuItem> getSubItems()
public void addSubItem(MenuItem menuitem)
public void setSubItems(java.util.Vector<MenuItem> subItems)
public void setExpanded(boolean expanded)
public boolean isExpanded()
public java.lang.String getProperty(java.lang.String propertyName, java.util.Vector<java.lang.Object> filterArgs, java.lang.String token, Framework framework)
OBBase
getProperty
in class OBBase
public java.util.Vector<?> getTargetNames(java.lang.String composedName, java.util.Vector<java.lang.Object> filterArgs, Framework framework)
OBBase
getTargetNames
in class OBBase
public java.lang.String toString()
toString
in class java.lang.Object
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |