www.element4solution.com

e4s.db.dict
Class E4DBTreeNodeDictionary

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.tree.E4TreeNode
          extended by e4s.db.dict.E4DBTreeNodeDictionary
All Implemented Interfaces:
E4TreeNode_Intf

public class E4DBTreeNodeDictionary
extends E4TreeNode
implements E4TreeNode_Intf

Part of the datadictionary: internal used to display dictionary stuff as tree nodes.

Since:
JDK 1.4

Field Summary
static int STATUS_DICT
          Table exists only in the real database dictionary.
static int STATUS_OK
          Table exists in the external datadictionary as well as in the database.
static int STATUS_UPDATED
          Table exists in the external datadictionary as well as in the database AND was currently updated within this session
static int STATUS_XML
          Table exists only in the external (XML) dictionary.
 
Fields inherited from class e4s.html.tree.E4TreeNode
m_action, m_additional_elements, m_id, m_isactive, m_isopen, m_obj, m_sub, m_text, ms_last_id
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4DBTreeNodeDictionary()
           
 
Method Summary
 java.lang.String getFormattedText()
          Color representation for the status.
 int getStatus()
          Represents the status of a dictionary table in the visual tree representation.
 void setStatus(int status)
          Set the status for the node.
 
Methods inherited from class e4s.html.tree.E4TreeNode
_getSVNVersionString, addAdditionalElement, addNode, addNode, addNode, addNode, collectScripts, collectStylesForEditing, collectTranslationsForEditing, copy, copy, countNodes, findAdditionalElement, findNode, findSubnode, findSubnodeText, findSubnodeText, getAction, getAdditionalElements, getBgColor, getFONT, getFormattedText, getId, getImage, getImage, getObj, getSTYLE, getSubNodes, getSubNodesArray, getText, hasSubnodes, isActive, isOpen, removeAllNodes, removeNode, removeNode, resetAction, setAction, setAction, setActive, setBgColor, setFONT, setId, setImage, setImage, setObj, setOpen, setOpen, setSTYLE, setText, setText, setText, sort, sort, toString
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface e4s.html.tree.E4TreeNode_Intf
addNode, collectScripts, collectStylesForEditing, collectTranslationsForEditing, copy, countNodes, findAdditionalElement, findSubnode, findSubnodeText, findSubnodeText, getAction, getAdditionalElements, getBgColor, getFONT, getFormattedText, getId, getImage, getImage, getObj, getSTYLE, getSubNodes, getSubNodesArray, getText, hasSubnodes, isActive, isOpen, removeAllNodes, removeNode, removeNode, setActive, setId, setImage, setImage, setObj, setOpen, setOpen, sort, sort
 

Field Detail

STATUS_OK

public static final int STATUS_OK
Table exists in the external datadictionary as well as in the database.

See Also:
getStatus(), setStatus(int), STATUS_UPDATED, Constant Field Values

STATUS_UPDATED

public static final int STATUS_UPDATED
Table exists in the external datadictionary as well as in the database AND was currently updated within this session

See Also:
getStatus(), setStatus(int), STATUS_OK, Constant Field Values

STATUS_DICT

public static final int STATUS_DICT
Table exists only in the real database dictionary.

See Also:
getStatus(), setStatus(int), Constant Field Values

STATUS_XML

public static final int STATUS_XML
Table exists only in the external (XML) dictionary.

See Also:
getStatus(), setStatus(int), Constant Field Values
Constructor Detail

E4DBTreeNodeDictionary

public E4DBTreeNodeDictionary()
Method Detail

getFormattedText

public java.lang.String getFormattedText()
Color representation for the status.

Returns:
a tag including a color for one of the status tags, including the regular node's text.

getStatus

public int getStatus()
Represents the status of a dictionary table in the visual tree representation.

Returns:
STATUS_OK, STATUS_XML or STATUS_DICT
See Also:
STATUS_OK, STATUS_XML, STATUS_DICT, setStatus(int)

setStatus

public void setStatus(int status)
Set the status for the node.

Parameters:
status - one of STATUS_OK, STATUS_XML or STATUS_DICT
See Also:
STATUS_OK, STATUS_XML, STATUS_DICT, getStatus()

www.element4solution.com