Java Doc for TKFieldSwitch.java in  » Content-Management-System » webman » com » teamkonzept » field » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » webman » com.teamkonzept.field 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $


Field Summary
final public static  StringALTERNATIVES_KEY
    
final public static  String[]CHECK_NAMES
    
final public static  intCHECK_OPTION
    
final public static  intCHECK_UNDEFINED
    
final public static  StringCLASS_ID
     The class identifier.
final public static  StringSELECT_CHECK_KEY
    
 TKVectoralternatives
    
protected  intcheck
    
 TKHashtablefieldHash
    

Constructor Summary
public  TKFieldSwitch()
    
public  TKFieldSwitch(String name, TKVector alternatives)
    
public  TKFieldSwitch(String name, TKVector alternatives, String showName)
    
public  TKFieldSwitch(String name, TKVector alternatives, String showName, int check)
    

Method Summary
public  voidaddAlternative(TKBaseField alternative)
    
public  voidclearId()
    
public  ObjectcompileData(String prefix, TKHashtable data, TKHashtable context)
    
public  ObjectcompileData(String prefix, TKMarkupNode data, TKHashtable context)
    
public  booleanequals(Object object)
     Checks wether this object and the specified object may be treated as equal.
Parameters:
  object - the object to checked for equality.
public  voidfillIntoDOM(Document doc, Element node, Object data)
    
public  voidfillIntoPresentation(TKHTMLTemplate t, Object data, String scope)
    
public  voidfillIntoTemplate(TKHTMLTemplate t, Object data, String prefix)
    
public  ObjectgetDataFromDB(TKContentDBData db)
    
public  TKFieldGroupgetDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList)
    
public  ObjectgetDefault()
    
public  TKBaseFieldgetTarget(String fieldPath, String prefix)
    
public  inthashCode()
     Returns the hash code for this object.
public  voidinit(String fieldType, Object data)
    
final protected  voidinitFieldSwitch(String type, String name, TKVector alternatives, String showName, int check)
    
public  voidinitFromDB(String classId, TKFormDBData db, TKVector otherFields)
    
public  intinsertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)
    
public  Objectmodify(String action, String fieldPath, Object data, String prefix, StringBuffer destination)
    
public  intrealInsertIntoDB(TKFormDBData db, int formId)
    
public  voidremoveAlternative(TKBaseField alternative)
    
public  TKVectorsortAllSwitch()
    
public  ObjecttoData()
    

Field Detail
ALTERNATIVES_KEY
final public static String ALTERNATIVES_KEY(Code)



CHECK_NAMES
final public static String[] CHECK_NAMES(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)



alternatives
TKVector alternatives(Code)



check
protected int check(Code)



fieldHash
TKHashtable fieldHash(Code)




Constructor Detail
TKFieldSwitch
public TKFieldSwitch()(Code)



TKFieldSwitch
public TKFieldSwitch(String name, TKVector alternatives)(Code)



TKFieldSwitch
public TKFieldSwitch(String name, TKVector alternatives, String showName)(Code)



TKFieldSwitch
public TKFieldSwitch(String name, TKVector alternatives, String showName, int check)(Code)




Method Detail
addAlternative
public void addAlternative(TKBaseField alternative)(Code)



clearId
public void clearId()(Code)



compileData
public Object compileData(String prefix, TKHashtable data, TKHashtable context)(Code)



compileData
public Object compileData(String prefix, TKMarkupNode data, TKHashtable context)(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.



fillIntoDOM
public void fillIntoDOM(Document doc, Element node, Object data) throws DOMException(Code)



fillIntoPresentation
public void fillIntoPresentation(TKHTMLTemplate t, Object data, String scope)(Code)



fillIntoTemplate
public void fillIntoTemplate(TKHTMLTemplate t, Object data, String prefix)(Code)



getDataFromDB
public Object getDataFromDB(TKContentDBData db)(Code)



getDefGroup
public TKFieldGroup getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList)(Code)
Methode zur Definition alternativer Eingabe-Objekte



getDefault
public Object getDefault()(Code)



getTarget
public TKBaseField getTarget(String fieldPath, String prefix)(Code)



hashCode
public int hashCode()(Code)
Returns the hash code for this object. the hash code for this object.



init
public void init(String fieldType, Object data) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)



initFieldSwitch
final protected void initFieldSwitch(String type, String name, TKVector alternatives, String showName, int check)(Code)



initFromDB
public void initFromDB(String classId, TKFormDBData db, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)



insertDataIntoDB
public int insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)(Code)



modify
public Object modify(String action, String fieldPath, Object data, String prefix, StringBuffer destination)(Code)



realInsertIntoDB
public int realInsertIntoDB(TKFormDBData db, int formId)(Code)



removeAlternative
public void removeAlternative(TKBaseField alternative)(Code)



sortAllSwitch
public TKVector sortAllSwitch()(Code)



toData
public Object toData()(Code)



Fields inherited from com.teamkonzept.field.TKBaseField
final public static String BASEPATH_PAR(Code)(Java Doc)
final public static String DIAGS_KEY(Code)(Java Doc)
final public static String LANGUAGE_CONTEXT(Code)(Java Doc)
final public static String NAME_KEY(Code)(Java Doc)
final public static String NEWFILENAME(Code)(Java Doc)
final public static String OLDFILENAME(Code)(Java Doc)
final public static String SHOW_NAME_KEY(Code)(Java Doc)
final public static String SUB_LIST_KEY(Code)(Java Doc)
final public static String SUB_TYPE_KEY(Code)(Java Doc)
protected int fieldId(Code)(Java Doc)
public String fieldName(Code)(Java Doc)
public String fieldType(Code)(Java Doc)
public String showName(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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.