org.efaps.ui.wicket.models.objects
Class UIFieldStructurBrowser
java.lang.Object
org.efaps.ui.wicket.models.AbstractInstanceObject
org.efaps.ui.wicket.models.objects.AbstractUIObject
org.efaps.ui.wicket.models.objects.AbstractUIPageObject
org.efaps.ui.wicket.models.objects.UIStructurBrowser
org.efaps.ui.wicket.models.objects.UIFieldStructurBrowser
- All Implemented Interfaces:
- Serializable, org.apache.wicket.IClusterable, IFormElement
public class UIFieldStructurBrowser
- extends UIStructurBrowser
- implements IFormElement
Object used for a StructurBrowser nested in a Form.
- Version:
- $Id: UIFieldStructurBrowser.java 6008 2010-12-30 23:07:39Z jan@moxter.net $
- Author:
- The eFaps Team
- See Also:
- Serialized Form
|
Method Summary |
org.efaps.admin.ui.field.Field.Display |
getFieldDisplay(org.efaps.admin.ui.AbstractUserInterfaceObject.TargetMode _mode)
Get the Display of the Field this StructurBrowser is bedded in. |
protected UIStructurBrowser |
getNewStructurBrowser(org.efaps.db.Instance _instance,
UIStructurBrowser _parent)
Internal method to call a constructor, it is used to set that this
StructurBrowserModel is not a root. |
protected org.efaps.admin.AbstractAdminObject |
getObject4Event()
Get the Admin Object that contains the events that must be executed. |
protected void |
initialise()
Method used to initialize this StructurBrowserModel. |
boolean |
isEditable()
In create or edit mode this StructurBrowser is editable,
if the Field this StructurBroeser is bedded in is editable also. |
| Methods inherited from class org.efaps.ui.wicket.models.objects.UIStructurBrowser |
addBogusNode, addChildren, checkForAllowChilds, checkForAllowItems, checkForChildren, checkHideColumn4Row, execute, executeListener, executeTree, executeTreeTable, expand, getBrowserFieldIndex, getBrowserFieldName, getCacheKey, getChilds, getClone4New, getColumns, getColumnValue, getDirection, getExecutionStatus, getHeaders, getImage, getJavaScript4Target, getLabel, getSortDirection, getTable, getTreeModel, getTypeFromEvent, hasChilds, isAllowChilds, isAllowItems, isExpanded, isForceExpanded, isRoot, isShowCheckBoxes, requeryLabel, resetModel, setAllowChilds, setAllowItems, setBrowserFieldIndex, setBrowserFieldName, setDirection, setExecutionStatus, setExpanded, setForceExpanded, setParent, setShowCheckBoxes, setSortDirection, setTableuuid, setValuesFromUI, sort, sortModel, toString |
| Methods inherited from class org.efaps.ui.wicket.models.objects.AbstractUIPageObject |
addHidden, checkAccessToInstances, getAccessMap, getHelpTarget, getHiddenCells, getNewRandom, getTargetCmd, getTargetCmdUUID, getUiID2Oid, getValue4Wizard, getWizard, hasTargetCmd, isPartOfWizardCall, isRenderRevise, isTargetCmdRevise, isTargetShowFile, setPartOfWizardCall, setRenderRevise, setTargetCmdRevise, setTargetCmdUUID, setWizard |
| 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 |
UIFieldStructurBrowser
public UIFieldStructurBrowser(UUID _commandUUID,
String _instanceKey,
org.efaps.admin.ui.field.FieldTable _field)
throws org.efaps.util.EFapsException
- Parameters:
_commandUUID - uuid of the calling command_instanceKey - key to the instance_field - Field
- Throws:
org.efaps.util.EFapsException - on error
getNewStructurBrowser
protected UIStructurBrowser getNewStructurBrowser(org.efaps.db.Instance _instance,
UIStructurBrowser _parent)
throws org.efaps.util.EFapsException
- Internal method to call a constructor, it is used to set that this
StructurBrowserModel is not a root.
- Overrides:
getNewStructurBrowser in class UIStructurBrowser
- Parameters:
_instance - Instance_parent - StructurBrowser the values will be copied from
- Returns:
- UIStructurBrowser
- Throws:
org.efaps.util.EFapsException - on error
initialise
protected void initialise()
throws org.efaps.util.EFapsException
- Method used to initialize this StructurBrowserModel.
- Overrides:
initialise in class UIStructurBrowser
- Throws:
org.efaps.util.EFapsException - on error
getObject4Event
protected org.efaps.admin.AbstractAdminObject getObject4Event()
- Get the Admin Object that contains the events that must be executed.
- Overrides:
getObject4Event in class UIStructurBrowser
- Returns:
- the Admin Object that contains the events to be executed
getFieldDisplay
public org.efaps.admin.ui.field.Field.Display getFieldDisplay(org.efaps.admin.ui.AbstractUserInterfaceObject.TargetMode _mode)
- Get the Display of the Field this StructurBrowser is bedded in.
- Parameters:
_mode - target mode the display will be evaluate for
- Returns:
- Display
isEditable
public boolean isEditable()
- In create or edit mode this StructurBrowser is editable,
if the Field this StructurBroeser is bedded in is editable also.
- Overrides:
isEditable in class UIStructurBrowser
- Returns:
- is this StructurBrowser editable.
Copyright © 2003-2011 The eFaps Team. All Rights Reserved.