|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.crosswire.common.config.swing.AbstractConfigEditor
org.crosswire.common.config.swing.TreeConfigEditor
public class TreeConfigEditor
A Tabbed view of a config class.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormNested Class Summary | |
---|---|
protected class |
TreeConfigEditor.ConfigureTreeModel
A custom data model for the TreeConfig Tree |
protected static class |
TreeConfigEditor.Node
Simple Tree Node |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected static String |
BLANK
The name of the blank tab |
protected TreeConfigEditor.ConfigureTreeModel |
ctm
The custom tree model for the tree |
protected JPanel |
deck
Contains the configuration panels |
protected CardLayout |
layout
Layout for the config panels |
private static long |
serialVersionUID
Serialization ID |
protected JLabel |
title
The title for the config panels |
protected JTree |
tree
The tree containing the Field sets |
Fields inherited from class org.crosswire.common.config.swing.AbstractConfigEditor |
---|
al, cards, config, decks, dialog, fields, TASK_ICON_LARGE, TASK_ICON_SMALL |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
TreeConfigEditor()
|
Method Summary | |
---|---|
protected void |
addChoice(String key,
Choice model)
Add a Choice to our set of panels |
protected void |
initializeGUI()
Danger - this method is not called by the TreeConfigEditor constructor, it is called by the AbstractConfigEditor constructor so any field initializers will be called AFTER THIS METHOD EXECUTES so don't use field initializers. |
protected void |
removeChoice(String key,
Choice model)
Add a Choice to our set of panels |
void |
selectCard()
Used to update the configuration panel whenever someone selects a different item form the tree on the LHS of the configuation dialog. |
protected void |
updateTree()
Updates to the tree that we need to do on any change |
Methods inherited from class org.crosswire.common.config.swing.AbstractConfigEditor |
---|
applyPressed, cancelPressed, construct, hideDialog, localToScreen, okPressed, screenToLocal, showDialog |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String BLANK
protected JTree tree
protected transient TreeConfigEditor.ConfigureTreeModel ctm
protected JLabel title
protected JPanel deck
protected CardLayout layout
private static final long serialVersionUID
Constructor Detail |
---|
public TreeConfigEditor()
Method Detail |
---|
protected void initializeGUI()
initializeGUI
in class AbstractConfigEditor
protected void updateTree()
updateTree
in class AbstractConfigEditor
protected void addChoice(String key, Choice model)
addChoice
in class AbstractConfigEditor
protected void removeChoice(String key, Choice model)
removeChoice
in class AbstractConfigEditor
public void selectCard()
|
Copyright ? 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |