public class InputFieldStyle
extends java.lang.Object
| Constructor and Description |
|---|
InputFieldStyle()
Default contructor.
|
InputFieldStyle(InputFieldStyle ifs)
Copy constructor.
|
InputFieldStyle(java.lang.String inputClassName)
Allows you to set the CSS class name for the input field.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInputClassName()
Returns the CSS class name for the input field.
|
int |
getInputHeight()
Returns the height of the input field.
|
int |
getInputHeightInPixels()
Returns the height of the input field in pixels.
|
java.lang.String |
getInputTextAlign()
Returns the text align.
|
int |
getInputWidth()
Returns the width of the input field.
|
int |
getInputWidthInPixels()
Returns the width of the field in pixels.
|
int |
hashCode() |
boolean |
isArrowKeyNavigation()
Returns whether arrow key navigation is turned on for this field.
|
boolean |
isReadOnly()
Returns whether the input field should be read only.
|
void |
setArrowKeyNavigation(boolean arrowKeyNavigation)
Sets whether arrow key navigation should be turned on or off.
|
void |
setInputClassName(java.lang.String inputClassName)
Sets the CSS class name for the input field.
|
void |
setInputHeight(int inputHeight)
Sets the height of the input field.
|
void |
setInputHeightInPixels(int inputHeightInPixels)
Sets the height of the input field in pixels.
|
void |
setInputTextAlign(java.lang.String inputTextAlign)
Sets the text align.
|
void |
setInputWidth(int inputWidth)
Sets the width of the input field.
|
void |
setInputWidthInPixels(int inputWidthInPixels)
Sets the width of the input field in pixels.
|
void |
setReadOnly(boolean readOnly)
Sets whether the input field should be read only.
|
java.lang.String |
toString() |
public InputFieldStyle()
public InputFieldStyle(java.lang.String inputClassName)
inputClassName - The CSS class name.public InputFieldStyle(InputFieldStyle ifs)
ifs - Another InputFieldStyle instance.public java.lang.String getInputClassName()
public void setInputClassName(java.lang.String inputClassName)
inputClassName - The CSS class name.public int getInputHeight()
public void setInputHeight(int inputHeight)
inputHeight - The new height.public int getInputHeightInPixels()
public void setInputHeightInPixels(int inputHeightInPixels)
inputHeightInPixels - The new height in pixels.public java.lang.String getInputTextAlign()
public void setInputTextAlign(java.lang.String inputTextAlign)
inputTextAlign - The new text align.public int getInputWidth()
public void setInputWidth(int inputWidth)
inputWidth - The new width.public int getInputWidthInPixels()
public void setInputWidthInPixels(int inputWidthInPixels)
inputWidthInPixels - The new width in pixels.public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly - True if the field should be read only.public boolean isArrowKeyNavigation()
public void setArrowKeyNavigation(boolean arrowKeyNavigation)
arrowKeyNavigation - True for on.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright ? Technia AB. All Rights Reserved.