public class TreeTableExample2 extends Object
| Modifier and Type | Field and Description |
|---|---|
protected JFrame |
frame
Frame containing everything.
|
protected FileSystemModel2 |
model
Model for the JTreeTable.
|
protected String |
path
Path created with.
|
protected int |
reloadCounter
A counter increment as the Timer fies and the same path is being reloaded.
|
protected TreePath |
reloadPath
TreePath being reloaded.
|
protected int |
reloadRow
Row the is being reloaded.
|
protected JLabel |
statusLabel
Used to indicate status.
|
protected Timer |
timer
Timer used to update reload state.
|
protected JTreeTable |
treeTable
Used to represent the model.
|
protected static int |
ttCount
Number of instances of TreeTableExample2.
|
| Constructor and Description |
|---|
TreeTableExample2(String path)
Creates a new TreeTableExample2 object.
|
| Modifier and Type | Method and Description |
|---|---|
protected JFrame |
createFrame()
Creates the JFrame that will contain everything.
|
protected JMenuBar |
createMenuBar()
Creates a menu bar.
|
protected FileSystemModel2 |
createModel(String path)
Creates the FileSystemModel2 that will be used.
|
protected JLabel |
createStatusLabel()
Creates and return a JLabel that is used to indicate the status of loading.
|
protected JTreeTable |
createTreeTable()
Creates and returns the instanceof JTreeTable that will be used.
|
static void |
main(String[] args)
DOCUMENT ME!
|
protected void |
reload(Object node)
Invoked to reload the children of a particular node.
|
protected void |
updateStatusLabel()
Updates the status label based on reloadRow.
|
protected static int ttCount
protected FileSystemModel2 model
protected JTreeTable treeTable
protected int reloadRow
protected TreePath reloadPath
protected int reloadCounter
protected Timer timer
protected JLabel statusLabel
protected JFrame frame
protected String path
public TreeTableExample2(String path)
path - DOCUMENT ME!protected JLabel createStatusLabel()
protected JTreeTable createTreeTable()
protected FileSystemModel2 createModel(String path)
path - DOCUMENT ME!protected JFrame createFrame()
protected JMenuBar createMenuBar()
protected void reload(Object node)
node - DOCUMENT ME!protected void updateStatusLabel()
public static void main(String[] args)
args - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.