|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproper.gui.experiment.BuilderParameter
public class BuilderParameter
This class is just a container for values for fields in the Builder.
Constructor Summary | |
---|---|
BuilderParameter(javax.swing.JComponent component,
java.lang.String label,
boolean optional,
javax.swing.JComponent useComponent,
boolean use,
java.lang.String value,
java.lang.String parameter)
initializes the object |
Method Summary | |
---|---|
javax.swing.JComponent |
getComponent()
returns the component |
java.lang.String |
getLabel()
returns the label for the component |
java.lang.String |
getParameter()
returns the command line parameter |
javax.swing.JComponent |
getUseComponent()
returns the component that is for checking the "use" |
java.lang.String |
getValue()
returns the default value of the field |
boolean |
isOptional()
returns whether it is an optional field |
boolean |
isUsed()
returns whether the component is used normally |
java.lang.String |
toString()
returns the container in a string representation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuilderParameter(javax.swing.JComponent component, java.lang.String label, boolean optional, javax.swing.JComponent useComponent, boolean use, java.lang.String value, java.lang.String parameter)
component
- the component that is displayedlabel
- the label for this componentoptional
- whether this is an optional componentuseComponent
- the "Checkbox" that controls whether this
parameter appears in the XML or notuse
- the default of the CheckBoxvalue
- the default value of the componentparameter
- the command line parameter (w/o "-")Method Detail |
---|
public javax.swing.JComponent getComponent()
public boolean isOptional()
public javax.swing.JComponent getUseComponent()
public boolean isUsed()
public java.lang.String getValue()
public java.lang.String getParameter()
public java.lang.String getLabel()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |