public interface DataComponent extends FormComponent, IdentifiedElement
Innovation| Modifier and Type | Field and Description |
|---|---|
static Color |
COMP_FOCUS_YELLOW
The yellow color for focus key.
|
static Color |
GREEN_VERY_LIGHT
The very light green color key.
|
static Color |
LIGHT_GRAY_BLUE
The very light gray blue color key.
|
static Color |
LIGHT_GREYISH_BLUE
The very light greyish color key.
|
static Color |
VERY_LIGHT_BLUE
The very light blue color key.
|
static Color |
VERY_LIGHT_GRAY
The very light gray color key.
|
static Color |
VERY_LIGHT_PINK
The very light pink color key.
|
static Color |
VERY_LIGHT_RED
The very light red color key.
|
static Color |
VERY_LIGHT_SKYBLUE
The very light skyblue color key.
|
static Color |
VERY_LIGHT_YELLOW
The very light yellow color key.
|
static Color |
VERY_LIGHT_YELLOW_2
The very light yellow color key.
|
DEBUG_LANGUAGEDESACTIVATE_COMPONENT_BY_PERMISSION_TIP| Modifier and Type | Method and Description |
|---|---|
void |
deleteData()
The method to delete data for component.
|
String |
getLabelComponentText()
Returns the label text component.
|
int |
getSQLDataType()
Returns the
sql data type according to
java.sql.Types
|
Object |
getValue()
Gets the value of a component.
|
boolean |
isEmpty()
Checks the data existence in component.
|
boolean |
isHidden()
Indicates to check the visibility condition for a component.
|
boolean |
isModifiable()
Checks the modifiable condition for a component.
|
boolean |
isModified()
This method should be return
true when data have been
modified. |
boolean |
isRequired()
Indicates the required condition for a component.
|
void |
setModifiable(boolean modifiable)
Establishes the modifiable condition for a component.
|
void |
setRequired(boolean required)
Sets required a component according to condition.
|
void |
setValue(Object value)
Sets the value for component.
|
getConstraints, init, isEnabled, setEnabled, setVisiblegetTextsToTranslate, setComponentLocale, setResourceBundlegetAttributeinitPermissions, isRestrictedstatic final Color VERY_LIGHT_GRAY
static final Color VERY_LIGHT_PINK
static final Color VERY_LIGHT_BLUE
static final Color VERY_LIGHT_SKYBLUE
static final Color GREEN_VERY_LIGHT
static final Color VERY_LIGHT_YELLOW
static final Color VERY_LIGHT_YELLOW_2
static final Color COMP_FOCUS_YELLOW
static final Color VERY_LIGHT_RED
static final Color LIGHT_GREYISH_BLUE
static final Color LIGHT_GRAY_BLUE
String getLabelComponentText()
Locale.
Object getValue()
object with value.void setValue(Object value)
value - the object with value to setvoid deleteData()
boolean isEmpty()
true when component is emptyboolean isModifiable()
true when component is modifiablevoid setModifiable(boolean modifiable)
DeleteFields call.
modifiable - the boolean conditionboolean isHidden()
int getSQLDataType()
sql data type according to
java.sql.Types
Integer typeboolean isRequired()
boolean isModified()
true when data have been
modified. The method setValue() should be change this
condition.
void setRequired(boolean required)
required - the required conditionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.