com.ontimize.gui.field
Interface ReferenceDataComponent
- All Superinterfaces:
- CreateForms, DataComponent, FormComponent, IdentifiedElement, Internationalization, OpenDialog, ReferenceComponent, SecureElement
- All Known Implementing Classes:
- ReferenceComboDataField, ReferenceExtDataField
- public interface ReferenceDataComponent
- extends DataComponent, ReferenceComponent, CreateForms, OpenDialog
| Fields inherited from interface com.ontimize.gui.field.DataComponent |
COMP_FOCUS_YELLOW, GREEN_VERY_LIGHT, LIGHT_GRAY_BLUE, LIGHT_GREYISH_BLUE, VERY_LIGHT_BLUE, VERY_LIGHT_GRAY, VERY_LIGHT_PINK, VERY_LIGHT_RED, VERY_LIGHT_SKYBLUE, VERY_LIGHT_YELLOW, VERY_LIGHT_YELLOW_2 |
| Methods inherited from interface com.ontimize.gui.field.DataComponent |
deleteData, getLabelComponentText, getSQLDataType, getValue, isEmpty, isHidden, isModifiable, isModified, isRequired, setModifiable, setRequired, setValue |
getCodeField
public javax.swing.JTextField getCodeField()
- Gets the code field.
- Returns:
- a
JTextField with the code field.
getCodeFieldName
public java.lang.String getCodeFieldName()
- The name of the code.
- Returns:
- a
String with the code name.
isCodeFieldVisible
public boolean isCodeFieldVisible()
- Checks whether the codefield is visible.
- Returns:
- a boolean
isCodeSearchVisible
public boolean isCodeSearchVisible()
- Checks whether the code search is visible.
- Returns:
- true if the code search is visible.
getCodeSearchFieldName
public java.lang.String getCodeSearchFieldName()
- Gets the code search field name.
- Returns:
- a
String with the search field name.
getParentForm
public Form getParentForm()
- Gets the parent form.
- Returns:
- a
Form where it's the component in.
queryBy
public EntityResult queryBy(java.lang.String column,
java.lang.Object value)
- Performs the entity query for the column and the value that are passed as entry parameters.
- Parameters:
column - a String with the name of the column.value - a Object with the value to filter.
- Returns:
- a
EntityResult with the result operation.