org.efaps.ui.wicket.models.cell
Class UIFormCellSet
java.lang.Object
org.efaps.ui.wicket.models.AbstractInstanceObject
org.efaps.ui.wicket.models.cell.AbstractUICell
org.efaps.ui.wicket.models.cell.UITableCell
org.efaps.ui.wicket.models.cell.UIFormCell
org.efaps.ui.wicket.models.cell.UIFormCellSet
- All Implemented Interfaces:
- Serializable, org.apache.wicket.IClusterable
public class UIFormCellSet
- extends UIFormCell
Responsable to hold the data for an AttributeSet.
- Version:
- $Id: UIFormCellSet.java 5038 2010-07-22 22:49:33Z jan.moxter $
- Author:
- The eFaswp Team
- See Also:
- Serialized Form
| Methods inherited from class org.efaps.ui.wicket.models.cell.UITableCell |
executeEvents, getAlign, getAutoCompletion, getCellTitle, getCompareValue, getFieldUpdate, getFieldUpdateEvent, getIcon, getPicker, getReference, isAutoComplete, isCheckOut, isFieldUpdate, isFixedWidth, isMultiRows, isValuePicker, setAutoComplete, setCellTitle, setReference |
| Methods inherited from class org.efaps.ui.wicket.models.cell.AbstractUICell |
getAttribute, getCellValue, getComponent, getDisplay, getField, getFieldId, getInstanceFromManager, getName, getParent, getTarget, getUiClass, hasInstanceManager, setCellValue, setComponent, toString |
UIFormCellSet
public UIFormCellSet(AbstractUIObject _parent,
org.efaps.admin.datamodel.ui.FieldValue _fieldValue,
org.efaps.db.Instance _instance,
String _value,
String _icon,
String _label,
boolean _edit)
throws org.efaps.util.EFapsException
- Parameters:
_parent - parent object_fieldValue - FieldValue_instance - instance_value - value_icon - icon_label - Label_edit - edit mode or not
- Throws:
org.efaps.util.EFapsException - on error
getNewCount
public int getNewCount()
- Returns:
- new index number for the y-coordinate
isEditMode
public boolean isEditMode()
- Returns:
- is this edit mode
add
public void add(int _yCoord,
int _xCoord,
UIFormCell _value)
- Parameters:
_xCoord - x-coordinate_yCoord - y-coordinate_value - Value
getYsize
public int getYsize()
- Returns:
- size of y
getXsize
public int getXsize()
- Returns:
- size of x
getYXValue
public UIFormCell getYXValue(int _yCoord,
int _xCoord)
- Parameters:
_xCoord - x-coordinate_yCoord - y-coordinate
- Returns:
- value
getYX2value
public Map<Integer,Map<Integer,UIFormCell>> getYX2value()
- Getter method for the instance variable
yx2value.
- Returns:
- value of instance variable
yx2value
getX2definition
public Map<Integer,UIFormCell> getX2definition()
- Getter method for the instance variable
x2definition.
- Returns:
- value of instance variable
x2definition
addDefiniton
public void addDefiniton(int _xCoord,
UIFormCell _uiFormCell)
throws org.efaps.util.cache.CacheReloadException
- Parameters:
_xCoord - x-coordinate_uiFormCell - UIFormCell used as definition
- Throws:
org.efaps.util.cache.CacheReloadException - on error
getDefinition
public UIFormCell getDefinition(int _xCoord)
- Parameters:
_xCoord - x-coordinate the definition is wanted fot
- Returns:
- UIFormCell used as defintion
addInstance
public void addInstance(int _yCoord,
org.efaps.db.Instance _instance)
- Ad an instance to an y-coordinate.
- Parameters:
_yCoord - y-coordinate_instance - Instance
getInstance
public org.efaps.db.Instance getInstance(int _yCoord)
- Parameters:
_yCoord - y-coordinate
- Returns:
- Instance
Copyright © 2003-2011 The eFaps Team. All Rights Reserved.