public interface MDISettings
extends javax.swing.Action
| Modifier and Type | Method and Description |
|---|---|
default javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String childName,
javax.swing.tree.DefaultMutableTreeNode childNode,
javax.swing.Icon icon)
Add a node to the settings component.
|
default javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String childName,
javax.swing.JComponent comp)
Add a node with a component as user Object to the settings component.
|
default javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String childName,
javax.swing.JComponent comp,
javax.swing.Icon icon)
Add a node with a component as user Object to the settings component.
|
default javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String childName,
javax.swing.JComponent comp,
java.lang.String label,
javax.swing.Icon icon)
Add a node with a component as user Object to the settings component.
|
default javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String childName,
MDISettingsNode node)
Add a node with a component as user Object to the settings component.
|
javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String parentName,
java.lang.String childName,
javax.swing.tree.DefaultMutableTreeNode childNode,
javax.swing.Icon icon)
Add a node to the settings component.
|
default javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String parentName,
java.lang.String childName,
javax.swing.JComponent comp,
javax.swing.Icon icon)
Add a node with a component as user Object to the settings component.
|
default javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String parentName,
java.lang.String childName,
javax.swing.JComponent comp,
java.lang.String label,
javax.swing.Icon icon)
Add a node with a component as user Object to the settings component.
|
javax.swing.tree.DefaultMutableTreeNode |
addNode(java.lang.String parentName,
java.lang.String childName,
MDISettingsNode node)
Add a node with a component as user Object to the settings component.
|
javax.swing.JComponent |
getSettingsComponent()
Return the component associated with the settings.
|
default void |
hideTreeRoot()
Specify that the tree root of the settings must be hidden.
|
void |
initialize()
Initialize the settings menu, after all components have been added.
|
default void |
setApplication(GUIApplication appli)
Set the application.
|
default void |
setDimension(java.awt.Dimension dim)
Set the settings dimension.
|
void |
showSettings()
Show the Settings.
|
void showSettings()
default void hideTreeRoot()
default void setApplication(GUIApplication appli)
appli - the applicationjavax.swing.JComponent getSettingsComponent()
default void setDimension(java.awt.Dimension dim)
dim - the dimensiondefault javax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String childName,
javax.swing.JComponent comp)
childName - the name of the child node to addcomp - the component associated with the child node. It will be added as
the user object of a new child nodedefault javax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String childName,
javax.swing.JComponent comp,
javax.swing.Icon icon)
childName - the name of the child node to addcomp - the component associated with the child node. It will be added as
the user object of a new child nodeicon - the icon associated with the node, or null if there is no icondefault javax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String parentName,
java.lang.String childName,
javax.swing.JComponent comp,
javax.swing.Icon icon)
parentName - the name of the parent of the nodechildName - the name of the child node to addcomp - the component associated with the child node. It will be added as
the user object of a new child nodeicon - the icon associated with the node, or null if there is no icondefault javax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String childName,
MDISettingsNode node)
childName - the name of the child node to addnode - the settings nodejavax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String parentName,
java.lang.String childName,
MDISettingsNode node)
parentName - the name of the parent of the nodechildName - the name of the child node to addnode - the settings nodedefault javax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String childName,
javax.swing.JComponent comp,
java.lang.String label,
javax.swing.Icon icon)
childName - the name of the child node to addcomp - the component associated with the child node. It will be added as
the user object of a new child nodelabel - the label associated with the nodeicon - the icon associated with the node, or null if there is no icondefault javax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String parentName,
java.lang.String childName,
javax.swing.JComponent comp,
java.lang.String label,
javax.swing.Icon icon)
addNode(java.lang.String, java.lang.String, javax.swing.JComponent, javax.swing.Icon).parentName - the name of the parent of the nodechildName - the name of the child node to addcomp - the component associated with the child node. It will be added as
the user object of a new child nodelabel - the label associated with the nodeicon - the icon associated with the node, or null if there is no icondefault javax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String childName,
javax.swing.tree.DefaultMutableTreeNode childNode,
javax.swing.Icon icon)
childName - the name of the child node to addchildNode - the child nodeicon - the icon associated with the node, or null if there is no iconjavax.swing.tree.DefaultMutableTreeNode addNode(java.lang.String parentName,
java.lang.String childName,
javax.swing.tree.DefaultMutableTreeNode childNode,
javax.swing.Icon icon)
parentName - the name of the parent of the nodechildName - the name of the child node to addchildNode - the child nodeicon - the icon associated with the node, or null if there is no iconvoid initialize()