|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.efaps.ui.wicket.models.AbstractInstanceObject
org.efaps.ui.wicket.models.objects.AbstractUIObject
org.efaps.ui.wicket.models.objects.UIMenuItem
public class UIMenuItem
This class provides the Model for rendering MenuComponents in
#org.efaps.ui.wicket.components.menu.MenuPanel and
in #org.efaps.ui.wicket.components.menutree.MenuTree.
| Constructor Summary | |
|---|---|
UIMenuItem(UUID _uuid)
Constructor setting the UUID of this MenuItem. |
|
UIMenuItem(UUID _uuid,
String _instanceKey)
Constructor setting the UUID and the key for the instance of this MenuItem. |
|
| Method Summary | |
|---|---|
void |
execute()
Method is used to execute the UIObject (Fill it with data). |
DefaultMutableTreeNode |
getAncestor()
This is the getter method for the instance variable ancestor. |
List<UIMenuItem> |
getChilds()
This is the getter method for the instance variable childs. |
String |
getDescription()
This is the getter method for the instance variable description. |
String |
getImage()
This is the getter method for the instance variable image. |
String |
getLabel()
This is the getter method for the instance variable label. |
DefaultMutableTreeNode |
getNode()
get a Node of this MenuItemModel including the Childs. |
String |
getReference()
This is the getter method for the instance variable reference. |
int |
getSubmitSelectedRows()
Getter method for the instance variable submitSelectedRows. |
TreeModel |
getTreeModel()
get a TreeModel which used in the Components to construct the actuall tree. |
String |
getTypeImage()
This method returns the URL to the Image of this MenuItem. |
String |
getUrl()
This is the getter method for the instance variable url. |
int |
getWindowHeight()
This is the getter method for the instance variable windowHeight . |
int |
getWindowWidth()
This is the getter method for the instance variable windowWidth. |
boolean |
hasChilds()
this method returns, if this MenuItem has childs. |
boolean |
isAskUser()
This is the getter method for the instance variable askUser. |
boolean |
isDefaultSelected()
This is the getter method for the instance variable defaultSelected. |
boolean |
isHeader()
This is the getter method for the instance variable header. |
boolean |
isStepInto()
This is the getter method for the instance variable stepInto. |
void |
requeryLabel()
Requery the Label. |
void |
resetModel()
This Method resets the Model, so that the next time the Model is going to be connected, the underlying Data will be received newly from the eFapsDataBase. |
void |
setAncestor(DefaultMutableTreeNode _node)
This is the setter method for the instance variable ancestor. |
void |
setHeader(boolean _header)
This is the setter method for the instance variable header. |
void |
setStepInto(boolean _stepInto)
This is the setter method for the instance variable stepInto. |
void |
setURL(String _url)
This is the setter method for the instance variable url. |
| Methods inherited from class org.efaps.ui.wicket.models.objects.AbstractUIObject |
|---|
addEventObject, executeEvents, getCallingCommand, getCallingCommandUUID, getCommand, getCommand, getCommandUUID, getInstanceFromManager, getMenuTreeKey, getMode, getOpenerId, getTarget, getTitle, hasInstanceManager, isCreateMode, isEditMode, isInitialized, isPicker, isPrintMode, isSearchMode, isSubmit, isViewMode, setCallingCommandUUID, setCommandUUID, setInitialized, setMode, setOpenerId, setSubmit, validate |
| Methods inherited from class org.efaps.ui.wicket.models.AbstractInstanceObject |
|---|
getInstance, getInstanceKey, setInstanceKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.efaps.ui.wicket.components.modalwindow.ICmdUIObject |
|---|
getCommand, getInstanceKey |
| Constructor Detail |
|---|
public UIMenuItem(UUID _uuid)
_uuid - UUID
public UIMenuItem(UUID _uuid,
String _instanceKey)
_uuid - UUID_instanceKey - instance Key| Method Detail |
|---|
public boolean hasChilds()
childs,
getChilds()public List<UIMenuItem> getChilds()
childs.
childspublic String getDescription()
description.
descriptionpublic String getImage()
image.
imagepublic String getLabel()
label.
labelpublic String getReference()
reference.
referencepublic int getSubmitSelectedRows()
submitSelectedRows.
submitSelectedRows
public String getTypeImage()
throws org.efaps.util.EFapsException
org.efaps.util.EFapsException - on errorpublic String getUrl()
url.
urlpublic void setURL(String _url)
url.
_url - the url to setpublic int getWindowHeight()
windowHeight .
windowHeightpublic int getWindowWidth()
windowWidth.
windowWidthpublic void requeryLabel()
public boolean isAskUser()
askUser.
askUserpublic boolean isDefaultSelected()
defaultSelected.
defaultSelectedpublic boolean isHeader()
header.
headerpublic void setHeader(boolean _header)
header.
_header - the header to setpublic boolean isStepInto()
stepInto.
stepIntopublic void setStepInto(boolean _stepInto)
stepInto.
_stepInto - the stepInto to setpublic void resetModel()
resetModel in class AbstractUIObjectpublic TreeModel getTreeModel()
getNode()public DefaultMutableTreeNode getNode()
addNode(DefaultMutableTreeNode, List)public DefaultMutableTreeNode getAncestor()
ancestor.
ancestorpublic void setAncestor(DefaultMutableTreeNode _node)
ancestor.
_node - the ancestor to setpublic void execute()
AbstractUIObject
execute in class AbstractUIObjectAbstractUIObject.execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||