|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.communications.command.param.ParameterRenderingInformation
org.rhq.enterprise.communications.command.param.TextFieldRenderingInformation
public class TextFieldRenderingInformation
Class used to encapsulate information specific to text fields.
| Constructor Summary | |
|---|---|
TextFieldRenderingInformation()
Defines a default length and height for the text field and sets the keys to null. |
|
TextFieldRenderingInformation(int length,
int height)
Sets the length and height as given but sets the keys to null. |
|
TextFieldRenderingInformation(String labelKey,
String descriptionKey)
Defines a default length and height and sets the keys to the given values. |
|
TextFieldRenderingInformation(String labelKey,
String descriptionKey,
int length,
int height)
Defines the keys and dimensions to their given values. |
|
| Method Summary | |
|---|---|
void |
applyResourceBundle(ResourceBundle resourceBundle)
None of the attributes specific to this class are localizable, so this simply delegates to the superclass's ParameterRenderingInformation.applyResourceBundle(ResourceBundle) method. |
int |
getFieldHeight()
Returns the field height. |
int |
getFieldLength()
Returns the field length. |
| Methods inherited from class org.rhq.enterprise.communications.command.param.ParameterRenderingInformation |
|---|
getDescription, getDescriptionKey, getLabel, getLabelKey, isHidden, isObfuscated, isReadOnly, setDescription, setHidden, setLabel, setObfuscated, setReadOnly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextFieldRenderingInformation()
null. See
TextFieldRenderingInformation(String, String, int, int) for more
information.
public TextFieldRenderingInformation(int length,
int height)
null. See
TextFieldRenderingInformation(String, String, int, int) for more
information.
length - height -
public TextFieldRenderingInformation(String labelKey,
String descriptionKey)
TextFieldRenderingInformation(String, String, int, int) for more
information.
labelKey - descriptionKey -
public TextFieldRenderingInformation(String labelKey,
String descriptionKey,
int length,
int height)
ParameterRenderingInformation.ParameterRenderingInformation(String, String) for more information.
labelKey - descriptionKey - length - height - | Method Detail |
|---|
public int getFieldLength()
public int getFieldHeight()
public void applyResourceBundle(ResourceBundle resourceBundle)
throws MissingResourceException
ParameterRenderingInformation.applyResourceBundle(ResourceBundle) method.
applyResourceBundle in class ParameterRenderingInformationresourceBundle - the resource bundle where the key values are found (may be null)
MissingResourceException - if a key was not found in the resource bundleParameterRenderingInformation.applyResourceBundle(ResourceBundle)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||