public static class MDISettingsNode.Multiple extends java.lang.Object implements MDISettingsNode
MDISettingsNode.Multiple, MDISettingsNode.Single
Constructor and Description |
---|
Multiple(javax.swing.Icon icon,
MDISettingsNode.Single... components)
Constructor.
|
Multiple(MDISettingsNode.Single... components)
Constructor.
|
Multiple(java.lang.String label,
javax.swing.Icon icon,
MDISettingsNode.Single... components)
Constructor.
|
Multiple(java.lang.String label,
MDISettingsNode.Single... components)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
countComponents()
Return the number of components used in the node
|
MDISettingsNode.Single[] |
getComponents()
Return the component used in the node
|
javax.swing.Icon |
getIcon()
Return the icon to put on the tree node
|
java.lang.String |
getLabel()
Return the label to put on the tree node
|
public Multiple(MDISettingsNode.Single... components)
components
- the component used in the nodepublic Multiple(java.lang.String label, MDISettingsNode.Single... components)
components
- the component used in the nodelabel
- the label to put in front of the componentpublic Multiple(javax.swing.Icon icon, MDISettingsNode.Single... components)
components
- the component used in the nodeicon
- the icon to put on the tree nodepublic Multiple(java.lang.String label, javax.swing.Icon icon, MDISettingsNode.Single... components)
components
- the component used in the nodelabel
- the label to put in front of the componenticon
- the icon to put on the tree nodepublic MDISettingsNode.Single[] getComponents()
public int countComponents()
public java.lang.String getLabel()
getLabel
in interface MDISettingsNode
public javax.swing.Icon getIcon()
getIcon
in interface MDISettingsNode