org.efaps.ui.wicket.models.cell
Class UIPicker

java.lang.Object
  extended by org.efaps.ui.wicket.models.AbstractInstanceObject
      extended by org.efaps.ui.wicket.models.cell.UIPicker
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, ICmdUIObject, IEventUIObject

public class UIPicker
extends AbstractInstanceObject
implements org.apache.wicket.IClusterable, ICmdUIObject, IEventUIObject

TODO comment!

Version:
$Id: UIPicker.java 5896 2010-12-01 16:31:57Z jan@moxter.net $
Author:
The eFaps Team
See Also:
Serialized Form

Constructor Summary
UIPicker(org.efaps.admin.ui.field.FieldPicker _field, UITableCell _parent)
           
 
Method Summary
 List<org.efaps.admin.event.Return> executeEvents(org.efaps.admin.event.EventType _eventType, Object... _objectTuples)
          
 UUID getCmdUUID()
          Getter method for the instance variable cmdUUID.
 org.efaps.admin.ui.Command getCommand()
           
 org.efaps.db.Instance getInstanceFromManager()
          
 String getInstanceKey()
          Getter method for instance variable AbstractInstanceObject.instanceKey.
 String getLabel()
          Getter method for the instance variable label.
 Map<String,String> getReturnMap()
          Getter method for the instance variable returnMap.
 int getWindowHeight()
           
 int getWindowWidth()
           
 boolean hasInstanceManager()
          
 boolean isExecuted()
          Getter method for the instance variable executed.
 void setExecuted(boolean _executed)
          Setter method for instance variable executed.
 
Methods inherited from class org.efaps.ui.wicket.models.AbstractInstanceObject
getInstance, setInstanceKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIPicker

public UIPicker(org.efaps.admin.ui.field.FieldPicker _field,
                UITableCell _parent)
Parameters:
_field - fieldPicker this UIObject belongs to
_parent - parent field this fieldpicker belongs to
Method Detail

getCmdUUID

public UUID getCmdUUID()
Getter method for the instance variable cmdUUID.

Returns:
value of instance variable cmdUUID

getCommand

public org.efaps.admin.ui.Command getCommand()
Specified by:
getCommand in interface ICmdUIObject
Returns:
the command underlying this picker

getLabel

public String getLabel()
Getter method for the instance variable label.

Returns:
value of instance variable label

getWindowHeight

public int getWindowHeight()
Returns:
the height of the window to be opened

getWindowWidth

public int getWindowWidth()
Returns:
the width of the window to be opened

getInstanceKey

public String getInstanceKey()
Getter method for instance variable AbstractInstanceObject.instanceKey.

Specified by:
getInstanceKey in interface ICmdUIObject
Overrides:
getInstanceKey in class AbstractInstanceObject
Returns:
value of instance variable AbstractInstanceObject.instanceKey

executeEvents

public List<org.efaps.admin.event.Return> executeEvents(org.efaps.admin.event.EventType _eventType,
                                                        Object... _objectTuples)
                                                 throws org.efaps.util.EFapsException

Specified by:
executeEvents in interface IEventUIObject
Parameters:
_eventType - type of the event to be executed
_objectTuples - tuple of objects passed to the esjp
Returns:
List of Returns
Throws:
org.efaps.util.EFapsException - on error

isExecuted

public boolean isExecuted()
Getter method for the instance variable executed.

Returns:
value of instance variable executed

setExecuted

public void setExecuted(boolean _executed)
Setter method for instance variable executed.

Parameters:
_executed - value for instance variable executed

getReturnMap

public Map<String,String> getReturnMap()
Getter method for the instance variable returnMap.

Returns:
value of instance variable returnMap

getInstanceFromManager

public org.efaps.db.Instance getInstanceFromManager()
                                             throws org.efaps.util.EFapsException

Specified by:
getInstanceFromManager in class AbstractInstanceObject
Throws:
org.efaps.util.EFapsException

hasInstanceManager

public boolean hasInstanceManager()

Specified by:
hasInstanceManager in class AbstractInstanceObject


Copyright © 2003-2011 The eFaps Team. All Rights Reserved.