Public Member Functions | |
void | treeExpanded (TreeExpansionEvent event) |
void | treeCollapsed (TreeExpansionEvent event) |
void | valueChanged (TreeSelectionEvent event) |
void | keyPressed (KeyEvent e) |
void | keyReleased (KeyEvent e) |
void | keyTyped (KeyEvent e) |
Static Public Member Functions | |
JTree | setUpCDBTree (String strIOR) |
void | setDAL (DAL dal) |
void | setKey (String key) |
String | getKey () |
Object[][] | getData (LinkedHashMap attributes) |
void | saveXMLString (boolean ok) |
void | resetXMLString () |
void | resetTable () |
void | saveTable () |
void | addListener (JTextArea XMLArea) |
boolean | isXMLTabSelected () |
void | clearCache () |
String | stringPath (TreePath tp) |
void | clearHashMaps () |
String | getCurl () |
void | addNode () |
void | deleteNode () |
Static Public Attributes | |
boolean | XMLStringChanged = false |
Static Package Attributes | |
JTree | CDBTree = null |
final String | titleCol1 = "ATTRIBUTE NAME" |
final String | titleCol2 = "ATTRIBUTE VALUE" |
final String | rootPrefix = "/root" |
final int | tableIndex = 0 |
final int | xmlIndex = 1 |
boolean | tableChanged = false |
boolean | XMLIndexEnabled = false |
HashMap | tabbedPanes = new HashMap() |
HashMap | tables = new HashMap() |
HashMap | tableModels = new HashMap() |
HashMap | xmls = new HashMap() |
JTabbedPane | selectedTabbedPane |
JTextArea | selectedXMLArea |
CDBTable | selectedTable |
CDBTableModel | selectedTableModel |
Static Private Attributes | |
DAL | dal |
WDAL | wdal = null |
JDAL | jdal = null |
String | hashMapKey |
String | originalXMLString = null |
boolean | tableIndexEnabled = false |
|
Add a key listener to the XML text Area. |
|
|
|
|
|
remove all elements inside HashMaps. |
|
|
|
|
|
Creates a two dimensional array used to create the tables data.
|
|
Get the current key.
|
|
Checks if any XML tab is selected.
|
|
Invoked when a key has been pressed (inside a XML text area). |
|
Invoked when a key has been released. |
|
Invoked when a key has been typed. |
|
|
|
Reset the XML String of the selected tabbed pane to its original value No interaction with jDAL needed. |
|
|
|
Send the XML String for validation. |
|
Set the DAL server. |
|
Sets the key of all hash maps used to store the data.
|
|
Create the CDB Tree. |
|
Return a String representation of the selected path.
|
|
Called whenever an item in the tree has been collapsed.
|
|
Called whenever an item in the tree has been expanded.
|
|
Called whenever the value of the selection changes.
|
|
The CDB tree. |
|
Instance of the DAL server. |
|
The string is used as a key for the hashMaps used to store the components. String is the full tree paht of the component. (set in BrowserJNDIContext & BrowserJNDIXMLContext). |
|
Reference to JDAL interface if it is implemented by DAL |
|
Stores the original XML String how it is before the user starts editing |
|
The prefix added to each curl |
|
The currently selected tabbed pane (can be null). |
|
The currently selected table component (can be null). |
|
The currently selected table model (can be null). |
|
The currently selected XML component (can be null). |
|
HashMap that stored the tabbed panes (JTebbedPane). |
|
Boolean that tells id the table has been edited. |
|
The index of the tab containing the Table. |
|
Boolean that tells if a tabbed pane has a table tab. If false -> no table view available. |
|
HashMap that stores the table models (CDBTableModel) |
|
HashMap that stores the tables (CDBTable). |
|
The name of the first table column. |
|
The name of the second table column. |
|
Reference to writable DAL interface if it is implemented by DAL |
|
The index of the tab containing the XML String. |
|
Boolean that tells if a tabbed pane has a XML tab. If false -> no XML View. |
|
HashMap that stores the XML components (JTextArea). |
|
Boolean that tells if the XML string has been edited. |