| java.lang.Object com.teamkonzept.field.TKBaseField com.teamkonzept.field.TKAtomField com.teamkonzept.field.TKOptionField
All known Subclasses: com.teamkonzept.field.TKCheckField, com.teamkonzept.field.TKSelectField,
TKOptionField | abstract public class TKOptionField extends TKAtomField (Code) | | The option field control.
author: $Author: uli $ version: $Revision: 1.19 $ |
Method Summary | |
public boolean | equals(Object object) Checks wether this object and the specified object
may be treated as equal.
Parameters: object - the object to checked for equality. | public void | fillIntoTemplate(TKHTMLTemplate t, Object value, String prefix) | final public static TKVector | getDataOfOptions(TKVector optionList) | public TKFieldGroup | getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList) | final public static TKVector | getListOfOptions(TKVector options) | public int | hashCode() Returns the hash code for this object. | public void | init(String fieldClass, Object data) | public void | initFromDB(String classId, TKFormDBData db, TKVector otherFields) | final public void | initOptionField(String type, String name, String showName, TKVector optionList, boolean multiple) | public int | realInsertIntoDB(TKFormDBData db, int formId) | public Object | toData() Returns the internal representation of this field. |
multiple | protected boolean multiple(Code) | | |
TKOptionField | public TKOptionField()(Code) | | |
equals | public boolean equals(Object object)(Code) | | Checks wether this object and the specified object
may be treated as equal.
Parameters: object - the object to checked for equality. true if this object and thespecified object may be treated as equal, otherwisefalse . |
hashCode | public int hashCode()(Code) | | Returns the hash code for this object.
the hash code for this object. |
toData | public Object toData()(Code) | | Returns the internal representation of this field.
the internal representation of this field. |
Methods inherited from com.teamkonzept.field.TKAtomField | public void addClass(String newClass)(Code)(Java Doc) public Object compileData(String prefix, TKHashtable data, TKHashtable context)(Code)(Java Doc) public Object compileData(String prefix, TKMarkupNode data, TKHashtable context)(Code)(Java Doc) protected void createValueNode(Document doc, Element node, String data) throws DOMException(Code)(Java Doc) protected void fillDataIntoNode(Document doc, Element node, Object data) throws DOMException(Code)(Java Doc) public void fillIntoDOM(Document doc, Element node, Object data) throws DOMException(Code)(Java Doc) public void fillIntoPresentation(TKHTMLTemplate t, Object data, String scope)(Code)(Java Doc) public void fillIntoTemplate(TKHTMLTemplate t, Object value, String prefix)(Code)(Java Doc) public Object getDataFromDB(TKContentDBData db)(Code)(Java Doc) final public void initAtomField(String fieldType, String fieldName, String showName)(Code)(Java Doc) public int insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)(Code)(Java Doc)
|
Methods inherited from com.teamkonzept.field.TKBaseField | public void addToContext(Object value, String key, TKHashtable context)(Code)(Java Doc) public void clearId()(Code)(Java Doc) abstract public Object compileData(String prefix, TKHashtable data, TKHashtable context)(Code)(Java Doc) abstract public Object compileData(String prefix, TKMarkupNode data, TKHashtable context)(Code)(Java Doc) public boolean equals(Object object)(Code)(Java Doc) public void fillAttributesIntoNode(Element node, Object data) throws DOMException(Code)(Java Doc) abstract public void fillIntoDOM(Document doc, Element node, Object value) throws DOMException(Code)(Java Doc) abstract public void fillIntoPresentation(TKHTMLTemplate t, Object value, String prefix)(Code)(Java Doc) public void fillIntoTemplate(TKHTMLTemplate t, Object value, String prefix)(Code)(Java Doc) public TKHashtable finishExtModify(String action, TKHashtable params)(Code)(Java Doc) public TKContentNodeTableData getContentNodeFromDB(TKContentDBData db)(Code)(Java Doc) public TKContentValueTableData getContentNodeValueFromDB(TKContentDBData db, TKContentNodeTableData node)(Code)(Java Doc) abstract public Object getDataFromDB(TKContentDBData db)(Code)(Java Doc) final public static TKFieldSwitchData getDataOfAlternative(TKBaseField field)(Code)(Java Doc) final public static TKFieldSwitchListData getDataOfAlternatives(TKVector fieldList)(Code)(Java Doc) abstract public TKFieldGroup getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList)(Code)(Java Doc) public Object getDefault()(Code)(Java Doc) public TKBaseField getField(String fieldPath, String prefix)(Code)(Java Doc) public String getFieldAttribute(TKFormDBData db, String name, int idx)(Code)(Java Doc) final public static TKHashtable getFieldHashFromList(TKVector fieldList)(Code)(Java Doc) public Object getFromContext(String key, TKHashtable context)(Code)(Java Doc) public String getInternationalName()(Code)(Java Doc) final public static TKVector getListOfFields(TKFieldSwitchListData switchListData) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) final public String getName()(Code)(Java Doc) final public String getShowName()(Code)(Java Doc) public TKBaseField getSubField(TKFormDBData db, String name, int idx, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) public TKVector getSubFieldList(TKFormDBData db, String name, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) public TKBaseField getTarget(String fieldPath, String prefix)(Code)(Java Doc) final public String getType()(Code)(Java Doc) public boolean hasFieldAttribute(TKFormDBData db, String name, int idx)(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public void init(String fieldType, Object initData) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) final public void initBaseField(String fieldType, String fieldName, String showName)(Code)(Java Doc) public void initFromDB(String classId, TKFormDBData db, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) abstract public int insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)(Code)(Java Doc) final public void insertDataIntoDB(TKContentDBData db, Object data)(Code)(Java Doc) public void insertIntoDB(TKFormDBData db)(Code)(Java Doc) public TKContentNodeTableData insertNewContentNode(TKContentDBData db, int contentId, int leftNr)(Code)(Java Doc) public void insertNewContentValue(TKContentDBData db, int contentId, int contentNodeId, int idx, String value)(Code)(Java Doc) public void insertNewContentValue(TKContentDBData db, int contentId, int contentNodeId, int idx, String value, Integer mediaID)(Code)(Java Doc) public void insertNewFieldAttribute(TKFormDBData db, int formId, String name, int idx, String value)(Code)(Java Doc) public TKSubFieldTableData insertNewSubField(TKFormDBData db, int formId, String name, int idx)(Code)(Java Doc) public void insertNewSubFieldList(TKFormDBData db, int formId, String name, TKVector fieldList)(Code)(Java Doc) public Object modify(String action, String fieldPath, Object data, String prefix, StringBuffer destination)(Code)(Java Doc) public String modify(String action, String fieldPath, Object data)(Code)(Java Doc) final public static TKContentNodeTableData peekNextContentNode(TKContentDBData db)(Code)(Java Doc) public int realInsertIntoDB(TKFormDBData db, int formId)(Code)(Java Doc) final public static void removeNextContentNode(TKContentDBData db)(Code)(Java Doc) public void setName(String newShowName, String newFieldName)(Code)(Java Doc) public Object toData()(Code)(Java Doc)
|
|
|