| 
 | org.netbeans.modules.project.ant/1 1.12.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.spi.project.support.ant.ui.StoreGroup
public class StoreGroup
Serves as utility class for storing Swing models into project
 properties. Usefull for creating project customizers. StoreGroup
 is capable of doing two things: First create the representation of the project properties which
 can be used in the GUI. Second at some time convert the objects back to the ANT properties form and
 store them into the project properties.
 For creating the object representation.
     
createToggleButtonModel(org.netbeans.spi.project.support.ant.PropertyEvaluator, java.lang.String), createStringDocument(org.netbeans.spi.project.support.ant.PropertyEvaluator, java.lang.String), etc. which
              will create the swing models for you.setModel() or setDocument()SourceGroup with the EditableProperties as parameter
| Constructor Summary | |
|---|---|
| StoreGroup() | |
| Method Summary | |
|---|---|
|  JToggleButton.ToggleButtonModel | createInverseToggleButtonModel(PropertyEvaluator evaluator,
                               String propertyName)Creates toggle button model representing a boolean in the StoreGroup. | 
|  Document | createStringDocument(PropertyEvaluator evaluator,
                     String propertyName)Creates Document containing the string value of given property. | 
|  JToggleButton.ToggleButtonModel | createToggleButtonModel(PropertyEvaluator evaluator,
                        String propertyName)Creates toogle button model representing a boolean in the StoreGroup. | 
|  void | store(EditableProperties editableProperties)Stores all models created in the StoreGroup into given EditableProperties. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public StoreGroup()
| Method Detail | 
|---|
public void store(EditableProperties editableProperties)
editableProperties - The properties where to store the
        values.public final JToggleButton.ToggleButtonModel createToggleButtonModel(PropertyEvaluator evaluator, String propertyName)
IllegalArgumentException if you try to get more
 than one model for one property.
evaluator - The PropertyEvaluator to be used to evaluate given 
        propertypropertyName - Name of the ANT property
public final JToggleButton.ToggleButtonModel createInverseToggleButtonModel(PropertyEvaluator evaluator, String propertyName)
IllegalArgumentException if you try to get more
 than one model for one property.
evaluator - The PropertyEvaluator to be used to evaluate given 
        propertypropertyName - Name of the ANT property
public final Document createStringDocument(PropertyEvaluator evaluator, String propertyName)
IllegalArgumentException if you try to get more
 than one model for one property.
evaluator - The PropertyEvaluator to be used to evaluate given 
        propertypropertyName - Name of the ANT property
| 
 | org.netbeans.modules.project.ant/1 1.12.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||