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

java.lang.Object
  extended by org.efaps.ui.wicket.models.AbstractInstanceObject
      extended by org.efaps.ui.wicket.models.cell.AbstractUICell
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable
Direct Known Subclasses:
UIHiddenCell, UITableCell

public abstract class AbstractUICell
extends AbstractInstanceObject

Abstract class for all cell types in the UserInterface.

Version:
$Id: AbstractUICell.java 5992 2010-12-28 23:41:06Z jan@moxter.net $
Author:
The eFaps Team
See Also:
Serialized Form

Constructor Summary
AbstractUICell(AbstractUIObject _parent, org.efaps.admin.datamodel.ui.FieldValue _fieldValue, String _instanceKey, String _cellvalue)
           
 
Method Summary
 org.efaps.admin.datamodel.Attribute getAttribute()
          Method to get the Attribute used for this cell.
 String getCellValue()
          This is the getter method for the instance variable #cellvalue.
 org.apache.wicket.markup.html.WebMarkupContainer getComponent()
          Getter method for instance variable component.
 org.efaps.admin.ui.field.Field.Display getDisplay()
          Getter method for instance variable display.
 org.efaps.admin.ui.field.Field getField()
          Get the field this cell belong to.
 long getFieldId()
          Getter method for instance variable fieldId.
 org.efaps.db.Instance getInstanceFromManager()
           
 String getName()
          This is the getter method for the instance variable name.
 AbstractUIObject getParent()
          Getter method for instance variable parent.
 org.efaps.admin.ui.AbstractCommand.Target getTarget()
          This is the getter method for the instance variable target.
 org.efaps.admin.datamodel.ui.UIInterface getUiClass()
          This is the getter method for the instance variable uiClass.
 boolean hasInstanceManager()
           
 void setCellValue(String _cellValue)
          Setter method for instance variable cellValue.
 void setComponent(org.apache.wicket.markup.html.WebMarkupContainer _component)
          Setter method for instance variable component.
 String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

AbstractUICell

public AbstractUICell(AbstractUIObject _parent,
                      org.efaps.admin.datamodel.ui.FieldValue _fieldValue,
                      String _instanceKey,
                      String _cellvalue)
Parameters:
_parent - parent
_fieldValue - field value
_instanceKey - instance key
_cellvalue - value of the cell
Method Detail

getParent

public AbstractUIObject getParent()
Getter method for instance variable parent.

Returns:
value of instance variable parent

getFieldId

public long getFieldId()
Getter method for instance variable fieldId.

Returns:
value of instance variable fieldId

getField

public org.efaps.admin.ui.field.Field getField()
Get the field this cell belong to.

Returns:
Field

getName

public String getName()
This is the getter method for the instance variable name.

Returns:
value of instance variable name

getTarget

public org.efaps.admin.ui.AbstractCommand.Target getTarget()
This is the getter method for the instance variable target.

Returns:
value of instance variable target

getUiClass

public org.efaps.admin.datamodel.ui.UIInterface getUiClass()
This is the getter method for the instance variable uiClass.

Returns:
value of instance variable uiClass

getDisplay

public org.efaps.admin.ui.field.Field.Display getDisplay()
Getter method for instance variable display.

Returns:
value of instance variable display

getCellValue

public String getCellValue()
This is the getter method for the instance variable #cellvalue.

Returns:
value of instance variable #cellvalue

setCellValue

public void setCellValue(String _cellValue)
Setter method for instance variable cellValue.

Parameters:
_cellValue - value for instance variable cellValue

getAttribute

public org.efaps.admin.datamodel.Attribute getAttribute()
                                                 throws org.efaps.util.cache.CacheReloadException
Method to get the Attribute used for this cell.

Returns:
Attribute if exists, else null
Throws:
org.efaps.util.cache.CacheReloadException - on error

hasInstanceManager

public boolean hasInstanceManager()
Specified by:
hasInstanceManager in class AbstractInstanceObject
Returns:
false
See Also:
AbstractInstanceObject.hasInstanceManager()

getInstanceFromManager

public org.efaps.db.Instance getInstanceFromManager()
                                             throws org.efaps.util.EFapsException
Specified by:
getInstanceFromManager in class AbstractInstanceObject
Returns:
Instance
Throws:
org.efaps.util.EFapsException - on error
See Also:
AbstractInstanceObject.getInstanceFromManager()

getComponent

public org.apache.wicket.markup.html.WebMarkupContainer getComponent()
Getter method for instance variable component.

Returns:
value of instance variable component

setComponent

public void setComponent(org.apache.wicket.markup.html.WebMarkupContainer _component)
Setter method for instance variable component.

Parameters:
_component - value for instance variable component

toString

public String toString()
Overrides:
toString in class Object


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