Ontimize 5.2072EN

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


Field Summary
 
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
 
Fields inherited from interface com.ontimize.gui.field.FormComponent
DEBUG
 
Fields inherited from interface com.ontimize.gui.i18n.Internationalization
DEBUG_LANGUAGE
 
Fields inherited from interface com.ontimize.gui.SecureElement
DESACTIVATE_COMPONENT_BY_PERMISSION_TIP
 
Method Summary
 javax.swing.JTextField getCodeField()
          Gets the code field.
 java.lang.String getCodeFieldName()
          The name of the code.
 java.lang.String getCodeSearchFieldName()
          Gets the code search field name.
 Form getParentForm()
          Gets the parent form.
 boolean isCodeFieldVisible()
          Checks whether the codefield is visible.
 boolean isCodeSearchVisible()
          Checks whether the code search is visible.
 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.
 
Methods inherited from interface com.ontimize.gui.field.DataComponent
deleteData, getLabelComponentText, getSQLDataType, getValue, isEmpty, isHidden, isModifiable, isModified, isRequired, setModifiable, setRequired, setValue
 
Methods inherited from interface com.ontimize.gui.field.FormComponent
getConstraints, init, isEnabled, setEnabled, setVisible
 
Methods inherited from interface com.ontimize.gui.i18n.Internationalization
getTextsToTranslate, setComponentLocale, setResourceBundle
 
Methods inherited from interface com.ontimize.gui.field.IdentifiedElement
getAttribute
 
Methods inherited from interface com.ontimize.gui.SecureElement
initPermissions, isRestricted
 
Methods inherited from interface com.ontimize.gui.ReferenceComponent
setReferenceLocator
 
Methods inherited from interface com.ontimize.gui.CreateForms
setFormBuilder
 
Methods inherited from interface com.ontimize.gui.OpenDialog
setParentFrame
 

Method Detail

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.

Ontimize