public class NativeField
extends java.lang.Object
Constructor and Description |
---|
NativeField() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
getErrorMessage()
Get the error message.
|
private static void |
getID()
Get the field's id.
|
private static void |
getName()
Get the name.
|
private static void |
getUI()
Get the ui type.
|
private static void |
getValidator()
Get the validator.
|
private static void |
getValue()
Get the value of the field, can't get RDB values.
|
private static boolean |
isInvalid()
Is the field's value valid?
|
private static boolean |
isReadOnly()
Is the field read only?
|
private static void |
isVisible()
Is the field visible?
|
static void |
javascriptConstructor(XmpEditField theDelegateField)
The field wrapper constructor.
|
private static void |
resetField()
Set back to default state
|
private static void |
setInvalid(boolean theIsInvalid,
java.lang.String theErrorMessage)
Set the validity of the field's value.
|
private static void |
setLabel(java.lang.String theLabel)
Set the field label.
|
private static void |
setReadOnly(boolean theReadOnly)
Set the field read only
|
static void |
setupAPI()
Setup the field wrapper constructor and functions.
|
private static void |
setValue(java.lang.String theNewValue)
Set the field's value and mark it dirty.
|
private static void |
setVisible(boolean theVisible)
Set the field visible or hidden.
|
public static void setupAPI()
public static void javascriptConstructor(XmpEditField theDelegateField)
theDelegateField
- The field to wrap.private static void getName()
private static void getUI()
private static void getValidator()
private static void getID()
private static void getValue()
private static void setValue(java.lang.String theNewValue)
theNewValue
- The value to set the field to.private static void resetField()
private static void isVisible()
private static void setVisible(boolean theVisible)
theVisible
- Should the field be visible or hidden?private static void setInvalid(boolean theIsInvalid, java.lang.String theErrorMessage)
theIsInvalid
- Is this field's value valid?theErrorMessage
- The error message to display if this field is invalid, ignored if theIsInvalid is true.private static boolean isInvalid()
private static java.lang.String getErrorMessage()
private static boolean isReadOnly()
private static void setReadOnly(boolean theReadOnly)
theReadOnly
- Should the field be read onlyprivate static void setLabel(java.lang.String theLabel)
theLabel
- The field label.Copyright © 2017 MediaBeacon, Inc. All Rights Reserved.