|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBaseRenderer
com.fatwire.cs.ui.view.renderer.attribute.BasicDataRenderer
com.fatwire.cs.ui.view.renderer.attribute.BasicDataTemplate
public abstract class BasicDataTemplate
Created by IntelliJ IDEA. User: jpinto Date: Oct 17, 2006 Time: 10:34:57 AM To change this template use File | Settings | File Templates.
Field Summary | |
---|---|
protected int |
_index
|
Fields inherited from class com.fatwire.cs.ui.view.renderer.attribute.BasicDataRenderer |
---|
_20_PERCENT, _80_PERCENT, CENTER, CSTEXT_ALIGN_RIGHT |
Constructor Summary | |
---|---|
BasicDataTemplate()
|
Method Summary | |
---|---|
protected abstract java.util.List<UIComponent> |
createComponents()
Builds a component list according to the properties specified in the UIAttributeEditor |
protected PreSaveProcess |
createPreSave(AttributeData atData,
AttributeDef def)
Used if a presave process is necessary. |
protected java.lang.String |
generateID()
|
int |
getDataIndex()
Return the index that this is currently iterating through. |
protected boolean |
iterateData(AttributeDef def)
Return true if all data should should be iterated through when creating rows |
protected java.util.List<UIComponent> |
renderData(RenderDataContext renderContext)
Generates components that are to be displayed in Edit mode. |
protected abstract void |
validateDataType(AttributeDef def)
Check that this defintion is valid combination for this renderer. |
Methods inherited from class com.fatwire.cs.ui.view.renderer.attribute.BasicDataRenderer |
---|
addNewField, createAddNew, createAddSelectedItems, createAttributeButtons, createCreateNew, createDownButton, createRemoveButton, createUpButton, getLabelText, getNoValueText, isAddNewButtonEnabled, isAddSelectedEnabled, isCreateNewEnabled, isEmpty, isRemoveButtonEnabled, isUpDownButtonEnabled, moveDown, moveUp, placeControlsAndLabel, removeItem, render |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int _index
Constructor Detail |
---|
public BasicDataTemplate()
Method Detail |
---|
protected java.util.List<UIComponent> renderData(RenderDataContext renderContext) throws UIException
renderData
in class BasicDataRenderer
atData
- data of the attributedef
- Attribute definitionbinding
- binding information for the attribute
UIException
protected abstract java.util.List<UIComponent> createComponents() throws UIException
UIException
protected abstract void validateDataType(AttributeDef def) throws UIException
def
- of attribute
UIException
- thrown if incorrect combinationprotected PreSaveProcess createPreSave(AttributeData atData, AttributeDef def)
atData
- def
-
protected boolean iterateData(AttributeDef def)
def
-
public int getDataIndex()
protected java.lang.String generateID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |