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

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

public abstract class UIAbstractCell
extends AbstractInstanceObject

TODO comment!

Version:
$Id: UIAbstractCell.java 3767 2010-02-22 04:51:46Z jan.moxter $
Author:
The eFaps Team
See Also:
Serialized Form

Constructor Summary
UIAbstractCell(AbstractUIObject _parent, org.efaps.admin.datamodel.ui.FieldValue _fieldValue, java.lang.String _instanceKey, java.lang.String _cellvalue)
           
 
Method Summary
 org.efaps.admin.datamodel.Attribute getAttribute()
          Method to get the Attribute used for this cell.
 java.lang.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()
           
 java.lang.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 setComponent(org.apache.wicket.markup.html.WebMarkupContainer component)
          Setter method for instance variable component.
 
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
 

Constructor Detail

UIAbstractCell

public UIAbstractCell(AbstractUIObject _parent,
                      org.efaps.admin.datamodel.ui.FieldValue _fieldValue,
                      java.lang.String _instanceKey,
                      java.lang.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 java.lang.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 java.lang.String getCellValue()
This is the getter method for the instance variable #cellvalue.

Returns:
value of 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


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