jET
1.0alpha4


org.jet
Class PropertiesDialog.ControlsMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--org.jet.PropertiesDialog.ControlsMap
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Enclosing class:
PropertiesDialog

public class PropertiesDialog.ControlsMap
extends java.util.HashMap

A class of map containing dialog controls.

See Also:
Serialized Form

Constructor Summary
PropertiesDialog.ControlsMap()
          Constructs a controls map.
 
Method Summary
 PropertiesDialog.DialogControl getControl(java.lang.String name)
          Gets a component written as a dialog control.
 void putControl(PropertiesDialog.DialogControl dc)
          Puts a component written as a dialog control.
 void putControl(java.lang.String s, javax.swing.JComponent c)
          Puts a component c with name s to the map.
 void putControl(java.lang.String s, javax.swing.JComponent c, boolean b)
          Puts a component c with name s to the map with associated label or not.
 void putControl(java.lang.String s, javax.swing.JComponent c, boolean b1, boolean b2)
          Puts a component c with name s to the map with associated label or not and enabled/disabled at start.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

PropertiesDialog.ControlsMap

public PropertiesDialog.ControlsMap()
Constructs a controls map.

Method Detail

putControl

public void putControl(PropertiesDialog.DialogControl dc)
Puts a component written as a dialog control.

Parameters:
dc - Dialog component entity.

putControl

public void putControl(java.lang.String s,
                       javax.swing.JComponent c)
Puts a component c with name s to the map.

Adding component is enabled at start and enabling affects will be honored. The component also has an associated label.

Parameters:
s - The name of the component.
c - The component to add.
See Also:
putControl(String, JComponent, boolean, boolean)

putControl

public void putControl(java.lang.String s,
                       javax.swing.JComponent c,
                       boolean b)
Puts a component c with name s to the map with associated label or not.

Adding component is enabled at start and enabling affects will be honored.

Parameters:
s - The name of the component.
c - The component to add.
b - If false, the component does not have an associated label.
See Also:
putControl(String, JComponent, boolean, boolean)

putControl

public void putControl(java.lang.String s,
                       javax.swing.JComponent c,
                       boolean b1,
                       boolean b2)
Puts a component c with name s to the map with associated label or not and enabled/disabled at start.

Parameters:
s - The name of the component.
c - The component to add.
b1 - If false, the component does not have an associated label.
b2 - If false, the component is disabled at start. Any disabling/enabling activities will be not honored.

getControl

public PropertiesDialog.DialogControl getControl(java.lang.String name)
Gets a component written as a dialog control.

Parameters:
name - Name of component.
Returns:
Dialog control.

jET
1.0alpha4