|
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.table.ExtendedTable
| Nested Class Summary | |
protected class |
ExtendedTable.MJTable
Deprecated. |
| 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.lang.String |
attribute
Deprecated. |
protected javax.swing.JPanel |
buttonPanel
Deprecated. |
protected java.util.Hashtable |
calculatedColumns
Deprecated. |
static java.lang.String |
COLUMN_
Deprecated. |
protected java.util.Vector |
columns
Deprecated. |
protected javax.swing.JCheckBox |
confirmChangeCheck
Deprecated. |
protected java.util.Vector |
currencyColumns
Deprecated. |
protected boolean |
editable
Deprecated. |
protected java.util.Vector |
editableColumns
Deprecated. |
protected java.util.Hashtable |
editors
Deprecated. |
protected FormPermission |
enabledPermission
Deprecated. |
protected java.lang.String |
entity
Deprecated. |
protected java.lang.String |
formName
Deprecated. |
static java.lang.String |
INSERTION_NO_CONFIRM
Deprecated. |
static java.lang.String |
INSERTION_PERFORM
Deprecated. |
protected java.util.Vector |
keys
Deprecated. |
protected EntityReferenceLocator |
locator
Deprecated. |
static java.lang.String |
M_CONFIRM_INSERT
Deprecated. |
static java.lang.String |
M_CONFIRM_UPDATE
Deprecated. |
static java.lang.String |
MODIFICATION_CONFIRM
Deprecated. |
protected java.awt.event.MouseAdapter |
openDetailFormListener
Deprecated. |
protected Form |
parentForm
Deprecated. |
protected java.awt.Frame |
parentFrame
Deprecated. |
protected java.util.Vector |
parentKeys
Deprecated. |
static java.lang.String |
REQUIRED
Deprecated. |
protected java.util.Vector |
requiredColumns
Deprecated. |
protected java.util.ResourceBundle |
resources
Deprecated. |
protected boolean |
restricted
Deprecated. |
protected int |
rowPreferredSize
Deprecated. |
protected int[] |
settedColumnWidth
Deprecated. |
protected javax.swing.JLabel |
status
Deprecated. |
protected ExtendedTable.MJTable |
table
Deprecated. |
protected java.util.Vector |
visibleColumns
Deprecated. |
protected FormPermission |
visiblePermission
Deprecated. |
| 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, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ExtendedTable(java.util.Hashtable parameters)
Deprecated. |
|
| Method Summary | |
void |
add(java.awt.Component c,
java.lang.Object constraints)
Deprecated. Este metodo esta sobrecargado por conveniencia. |
void |
addListSelectionListenerToTable(javax.swing.event.ListSelectionListener l)
Deprecated. |
void |
addMouseListenerToTable(java.awt.event.MouseListener m)
Deprecated. |
protected boolean |
checkEnabledPermission()
Deprecated. |
protected boolean |
checkVisiblePermission()
Deprecated. |
void |
columnWidthSet(java.lang.String columna,
int pixels)
Deprecated. Establece el ancho de una columna. |
protected boolean |
confirmChanges()
Deprecated. |
protected boolean |
confirmRequiredInsertCell(int fila)
Deprecated. |
void |
deleteData()
Deprecated. The method to delete data for component. |
java.lang.Object |
getAttribute()
Deprecated. Gets the object attribute. |
java.lang.Object |
getConstraints(java.awt.LayoutManager parentLayout)
Deprecated. Description method to return the constraints component to
place correctly in parent container.
|
javax.swing.JTable |
getJTable()
Deprecated. |
java.lang.String |
getLabelComponentText()
Deprecated. Returns the label text component. |
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. Gets the value of a component. |
void |
init(java.util.Hashtable parameters)
Deprecated. Main method to init an object from parameters hashtable.
|
int[] |
initColumnWidth()
Deprecated. |
void |
initPermissions()
Deprecated. |
protected EntityResult |
insertEntity(int row)
Deprecated. |
protected void |
installDetailFormListener()
Deprecated. |
protected boolean |
isColumnVisible(java.lang.String col)
Deprecated. |
protected boolean |
isColumnWidthFixed(java.lang.String columna)
Deprecated. |
boolean |
isEmpty()
Deprecated. Checks the data existence in component. |
boolean |
isHidden()
Deprecated. Indicates to check the visibility condition for a component. |
boolean |
isModifiable()
Deprecated. Checks the modifiable condition for a component. |
boolean |
isModified()
Deprecated. This method should be return true when data have been modified. |
boolean |
isRequired()
Deprecated. Indicates the required condition for a component. |
boolean |
isRestricted()
Deprecated. |
void |
packTable()
Deprecated. |
void |
refresh()
Deprecated. |
protected void |
removeDetailFormListener()
Deprecated. |
void |
removeListSelectionListenerFromTable(javax.swing.event.ListSelectionListener l)
Deprecated. |
void |
removeMouseListenerFromTable(java.awt.event.MouseListener m)
Deprecated. |
void |
setColumnEditor(java.lang.String col,
javax.swing.table.TableCellEditor editor)
Deprecated. |
void |
setComponentLocale(java.util.Locale l)
Deprecated. |
void |
setEditable(boolean editable)
Deprecated. |
protected void |
setEditableColumns()
Deprecated. |
void |
setEnabled(boolean activ)
Deprecated. Description method to set enabled or not the component according the boolean condition in parameter. |
void |
setModifiable(boolean modif)
Deprecated. Establishes the modifiable condition for a component. |
void |
setParentForm(Form f)
Deprecated. Method declaration to set the form that contains the component. |
protected void |
setParentFormEditors(Form f)
Deprecated. |
void |
setParentFrame(java.awt.Frame f)
Deprecated. This method is called from Form for each component that implements this interface. |
void |
setParentFrameEditors(java.awt.Frame f)
Deprecated. |
void |
setReferenceLocator(EntityReferenceLocator locator)
Deprecated. Establishes the reference locator that will be used by component. |
void |
setReferencesLocatorEditors(EntityReferenceLocator locator)
Deprecated. |
protected void |
setRenderers()
Deprecated. |
void |
setRequired(boolean required)
Deprecated. Sets required a component according to condition. |
void |
setResourceBundle(java.util.ResourceBundle res)
Deprecated. Sets the language resource bundle. |
void |
setStateText(java.lang.String texto,
int time)
Deprecated. |
void |
setStateText(java.lang.String texto,
int time,
java.awt.Color c)
Deprecated. |
void |
setValue(java.lang.Object value)
Deprecated. Sets the value for component. |
void |
setVisible(boolean vis)
Deprecated. Description method to set visible or not the component according the boolean condition in parameter. |
protected void |
setVisibleColumns()
Deprecated. |
void |
showDetailForm()
Deprecated. |
protected EntityResult |
updateCell(int fila,
int columna)
Deprecated. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| 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, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFont, 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, 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, addFocusListener, 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, isEnabled, 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, removeFocusListener, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ontimize.gui.field.FormComponent |
isEnabled |
| Field Detail |
public static final java.lang.String COLUMN_
public static final java.lang.String REQUIRED
public static final java.lang.String INSERTION_NO_CONFIRM
public static final java.lang.String INSERTION_PERFORM
public static final java.lang.String MODIFICATION_CONFIRM
public static final java.lang.String M_CONFIRM_UPDATE
public static final java.lang.String M_CONFIRM_INSERT
protected java.lang.String entity
protected java.lang.String attribute
protected java.util.Vector columns
protected java.util.Vector keys
protected java.util.Vector parentKeys
protected java.util.Vector visibleColumns
protected java.util.Vector editableColumns
protected java.util.Vector requiredColumns
protected java.util.Vector currencyColumns
protected java.util.Hashtable calculatedColumns
protected ExtendedTable.MJTable table
protected java.util.ResourceBundle resources
protected EntityReferenceLocator locator
protected java.awt.Frame parentFrame
protected javax.swing.JLabel status
protected java.lang.String formName
protected int rowPreferredSize
protected boolean editable
protected FormPermission visiblePermission
protected FormPermission enabledPermission
protected java.awt.event.MouseAdapter openDetailFormListener
protected int[] settedColumnWidth
protected Form parentForm
protected java.util.Hashtable editors
protected javax.swing.JPanel buttonPanel
protected javax.swing.JCheckBox confirmChangeCheck
protected boolean restricted
| Constructor Detail |
public ExtendedTable(java.util.Hashtable parameters)
throws java.lang.Exception
| Method Detail |
public void init(java.util.Hashtable parameters)
FormComponenthashtable.
init in interface FormComponentparameters - the hashtable with pairs (Key,Value). For example:
| Key | Value |
| align | center |
| attr | attribute |
| ... | ... |
public java.lang.Object getConstraints(java.awt.LayoutManager parentLayout)
FormComponentconstraints component to
place correctly in parent container.
getConstraints in interface FormComponentparentLayout - the parent container reference
public boolean isModified()
DataComponenttrue when data have been modified. The method
setValue() should be change this condition.
isModified in interface DataComponentpublic boolean isRequired()
DataComponent
isRequired in interface DataComponentpublic void setRequired(boolean required)
DataComponent
setRequired in interface DataComponentrequired - the required conditionpublic boolean isEmpty()
DataComponent
isEmpty in interface DataComponenttrue when component is emptypublic int getSQLDataType()
DataComponentsql data type according to java.sql.Types
getSQLDataType in interface DataComponentInteger typepublic boolean isHidden()
DataComponent
isHidden in interface DataComponentpublic void setModifiable(boolean modif)
DataComponentDeleteFields call.
setModifiable in interface DataComponentmodif - the boolean conditionpublic boolean isModifiable()
DataComponent
isModifiable in interface DataComponenttrue when component is modifiablepublic void deleteData()
DataComponent
deleteData in interface DataComponentpublic void setValue(java.lang.Object value)
DataComponent
setValue in interface DataComponentvalue - the object with value to setpublic java.lang.Object getValue()
DataComponent
getValue in interface DataComponentobject with value.public java.lang.String getLabelComponentText()
DataComponentLocale.
getLabelComponentText in interface DataComponentpublic java.util.Vector getTextsToTranslate()
Internationalization
getTextsToTranslate in interface Internationalizationpublic void setResourceBundle(java.util.ResourceBundle res)
Internationalization
setResourceBundle in interface Internationalizationres - the new language bundle.public void setComponentLocale(java.util.Locale l)
setComponentLocale in interface Internationalizationpublic java.lang.Object getAttribute()
IdentifiedElement
getAttribute in interface IdentifiedElementpublic void setReferenceLocator(EntityReferenceLocator locator)
ReferenceComponent
setReferenceLocator in interface ReferenceComponentlocator - a reference locator to set in componentpublic void setReferencesLocatorEditors(EntityReferenceLocator locator)
public void setParentFrame(java.awt.Frame f)
OpenDialog
setParentFrame in interface OpenDialogf - the framepublic void setParentFrameEditors(java.awt.Frame f)
protected void setEditableColumns()
public int[] initColumnWidth()
protected boolean isColumnVisible(java.lang.String col)
public void packTable()
protected void setVisibleColumns()
protected void setRenderers()
public void setEditable(boolean editable)
public void setColumnEditor(java.lang.String col,
javax.swing.table.TableCellEditor editor)
protected boolean confirmRequiredInsertCell(int fila)
protected EntityResult insertEntity(int row)
throws java.lang.Exception
java.lang.Exception
protected EntityResult updateCell(int fila,
int columna)
throws java.lang.Exception
java.lang.Exceptionpublic void setParentForm(Form f)
AccessForm
setParentForm in interface AccessFormf - the form referenceprotected void setParentFormEditors(Form f)
protected boolean confirmChanges()
public void refresh()
public void setStateText(java.lang.String texto,
int time)
public void setStateText(java.lang.String texto,
int time,
java.awt.Color c)
public void add(java.awt.Component c,
java.lang.Object constraints)
public void columnWidthSet(java.lang.String columna,
int pixels)
protected boolean isColumnWidthFixed(java.lang.String columna)
protected void installDetailFormListener()
protected void removeDetailFormListener()
public javax.swing.JTable getJTable()
public void addMouseListenerToTable(java.awt.event.MouseListener m)
public void addListSelectionListenerToTable(javax.swing.event.ListSelectionListener l)
public void removeMouseListenerFromTable(java.awt.event.MouseListener m)
public void removeListSelectionListenerFromTable(javax.swing.event.ListSelectionListener l)
public void showDetailForm()
protected boolean checkVisiblePermission()
protected boolean checkEnabledPermission()
public void setEnabled(boolean activ)
FormComponent
setEnabled in interface FormComponentpublic void setVisible(boolean vis)
FormComponent
setVisible in interface FormComponentpublic void initPermissions()
initPermissions in interface SecureElementpublic boolean isRestricted()
isRestricted in interface SecureElement
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||