| java.lang.Object com.teamkonzept.field.TKBaseField com.teamkonzept.field.TKFieldSwitch
All known Subclasses: com.teamkonzept.field.TKEmbededSwitch,
TKFieldSwitch | public class TKFieldSwitch extends TKBaseField (Code) | | The field switch control.
author: $Author: uli $ version: $Revision: 1.29 $ |
Method Summary | |
public void | addAlternative(TKBaseField alternative) | public void | clearId() | public Object | compileData(String prefix, TKHashtable data, TKHashtable context) | public Object | compileData(String prefix, TKMarkupNode data, TKHashtable context) | 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 | fillIntoDOM(Document doc, Element node, Object data) | public void | fillIntoPresentation(TKHTMLTemplate t, Object data, String scope) | public void | fillIntoTemplate(TKHTMLTemplate t, Object data, String prefix) | public Object | getDataFromDB(TKContentDBData db) | public TKFieldGroup | getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList) | public Object | getDefault() | public TKBaseField | getTarget(String fieldPath, String prefix) | public int | hashCode() Returns the hash code for this object. | public void | init(String fieldType, Object data) | final protected void | initFieldSwitch(String type, String name, TKVector alternatives, String showName, int check) | public void | initFromDB(String classId, TKFormDBData db, TKVector otherFields) | public int | insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr) | public Object | modify(String action, String fieldPath, Object data, String prefix, StringBuffer destination) | public int | realInsertIntoDB(TKFormDBData db, int formId) | public void | removeAlternative(TKBaseField alternative) | public TKVector | sortAllSwitch() | public Object | toData() |
ALTERNATIVES_KEY | final public static String ALTERNATIVES_KEY(Code) | | |
CHECK_OPTION | final public static int CHECK_OPTION(Code) | | |
CHECK_UNDEFINED | final public static int CHECK_UNDEFINED(Code) | | |
CLASS_ID | final public static String CLASS_ID(Code) | | The class identifier.
|
SELECT_CHECK_KEY | final public static String SELECT_CHECK_KEY(Code) | | |
check | protected int check(Code) | | |
TKFieldSwitch | public TKFieldSwitch()(Code) | | |
clearId | public void clearId()(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. |
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)
|
|
|