|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ontimize.gui.field.DataField
com.ontimize.gui.field.TextFieldDataField
com.ontimize.gui.field.ReferenceDataField
#ReferenceExtDataField,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class com.ontimize.gui.field.TextFieldDataField |
TextFieldDataField.EJTextField, TextFieldDataField.InnerDocumentListener |
| Nested classes inherited from class com.ontimize.gui.field.DataField |
DataField.AuxPanel, DataField.CopyActionListener, DataField.ELabel, DataField.FieldButton, DataField.FieldFocusListener, DataField.InfoMouseListener, DataField.ToggleButton |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected java.util.Vector |
attributesVector
Deprecated. |
protected java.lang.String |
code
Deprecated. |
protected javax.swing.JTextField |
codeField
Deprecated. |
protected boolean |
codeFieldVisible
Deprecated. |
protected java.lang.String |
description
Deprecated. |
protected java.util.Vector |
descriptionField
Deprecated. |
protected boolean |
descriptionValue
Deprecated. |
protected javax.swing.JDialog |
dialog
Deprecated. |
protected java.lang.String |
entityName
Deprecated. |
protected boolean |
integerValue
Deprecated. |
protected javax.swing.JLabel |
labelInfo
Deprecated. |
protected java.util.Vector |
localeAttributesVector
Deprecated. |
protected EntityReferenceLocator |
locator
Deprecated. |
protected javax.swing.table.DefaultTableModel |
model
Deprecated. |
protected java.awt.Frame |
parentFrame
Deprecated. |
protected java.lang.String |
parentKey
Deprecated. |
static java.lang.String |
propUserSelection
Deprecated. |
protected javax.swing.JButton |
queryBt
Deprecated. |
protected javax.swing.JScrollPane |
scrollPane
Deprecated. |
protected javax.swing.JTable |
table
Deprecated. |
| Fields inherited from class com.ontimize.gui.field.TextFieldDataField |
disabledTextColor, innerListener |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| 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 |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, PROPERTIES, SOMEBITS |
| Constructor Summary | |
ReferenceDataField(java.util.Hashtable parameters)
Deprecated. |
|
| Method Summary | |
void |
deleteData()
Deprecated. The method to delete data for component. |
void |
free()
Deprecated. Makes the object to release the resources. |
java.lang.String |
getCodeFieldName()
Deprecated. |
int |
getSQLDataType()
Deprecated. Returns the sql data type according to java.sql.Types
|
java.util.Vector |
getTextsToTranslate()
Deprecated. Returns all the texts in the element suitable for being translated. |
java.lang.Object |
getValue()
Deprecated. Return the description value as a String |
void |
init(java.util.Hashtable parameters)
Deprecated. Main method to init an object from parameters hashtable.
|
protected void |
installFocusListener()
Deprecated. Adds the focus listener to the data field. |
boolean |
isModified()
Deprecated. This method should be return true when data have been modified. |
void |
setEnabled(boolean enabled)
Deprecated. Description method to set enabled or not the component according the boolean condition in parameter. |
void |
setParentFrame(java.awt.Frame parentFrame)
Deprecated. This method is called from Form for each component that implements this interface. |
void |
setReferenceLocator(EntityReferenceLocator referenceLocator)
Deprecated. Establishes the reference locator that will be used by component. |
void |
setResourceBundle(java.util.ResourceBundle resources)
Deprecated. Sets the language resource bundle. |
void |
setValue(java.lang.Object value)
Deprecated. Sets the value for component. |
| Methods inherited from class com.ontimize.gui.field.TextFieldDataField |
createDataField, getAttribute, getInnerListenerEnabled, getInnerValue, getLabelComponentText, getText, installInnerListener, isEmpty, isInnerValueEqual, isModifiable, isRequired, setInnerListenerEnabled, setInnerValue |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ontimize.gui.field.DataComponent |
getLabelComponentText, isEmpty, isHidden, isModifiable, isRequired, setModifiable, setRequired |
| Methods inherited from interface com.ontimize.gui.field.FormComponent |
getConstraints, isEnabled, setVisible |
| Methods inherited from interface com.ontimize.gui.i18n.Internationalization |
setComponentLocale |
| Methods inherited from interface com.ontimize.gui.field.IdentifiedElement |
getAttribute |
| Methods inherited from interface com.ontimize.gui.SecureElement |
initPermissions, isRestricted |
| Field Detail |
protected java.lang.String entityName
protected EntityReferenceLocator locator
protected javax.swing.JTextField codeField
protected javax.swing.JButton queryBt
protected javax.swing.JDialog dialog
protected java.awt.Frame parentFrame
protected java.lang.String code
protected java.lang.String description
protected java.util.Vector attributesVector
protected java.util.Vector localeAttributesVector
protected java.util.Vector descriptionField
protected javax.swing.JTable table
protected javax.swing.table.DefaultTableModel model
protected javax.swing.JScrollPane scrollPane
protected boolean descriptionValue
protected javax.swing.JLabel labelInfo
protected java.lang.String parentKey
protected boolean codeFieldVisible
protected boolean integerValue
public static final java.lang.String propUserSelection
| Constructor Detail |
public ReferenceDataField(java.util.Hashtable parameters)
| Method Detail |
public void init(java.util.Hashtable parameters)
FormComponenthashtable.
init in interface FormComponentinit in class TextFieldDataFieldparameters - the Hashtable with parameters
| attribute | values | default | required | meaning |
| focuslistener | no | The complete class name that implements FocusListener and will be registered like listener for
this field.
|
public void setReferenceLocator(EntityReferenceLocator referenceLocator)
ReferenceComponent
setReferenceLocator in interface ReferenceComponentreferenceLocator - a reference locator to set in componentpublic void setValue(java.lang.Object value)
DataComponent
setValue in interface DataComponentvalue - the object with value to setpublic java.lang.Object getValue()
getValue in interface DataComponentobject with value.public void setParentFrame(java.awt.Frame parentFrame)
OpenDialog
setParentFrame in interface OpenDialogparentFrame - the framepublic void setEnabled(boolean enabled)
FormComponent
setEnabled in interface FormComponentsetEnabled in class DataFieldenabled - the condition to set enablepublic void deleteData()
DataComponent
deleteData in interface DataComponentdeleteData in class TextFieldDataFieldpublic boolean isModified()
DataComponenttrue when data have been modified. The method
setValue() should be change this condition.
isModified in interface DataComponentisModified in class DataFieldpublic void setResourceBundle(java.util.ResourceBundle resources)
Internationalization
setResourceBundle in interface InternationalizationsetResourceBundle in class DataFieldpublic java.util.Vector getTextsToTranslate()
Internationalization
getTextsToTranslate in interface InternationalizationgetTextsToTranslate in class DataFieldpublic void free()
Freeable
free in interface Freeablepublic int getSQLDataType()
DataComponentsql data type according to java.sql.Types
getSQLDataType in interface DataComponentInteger typepublic java.lang.String getCodeFieldName()
protected void installFocusListener()
DataField
installFocusListener in class DataField
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||