Groovy Documentation

simplejpa.swing.glazed
[Groovy] Class GlazedTable

java.lang.Object
  java.awt.Component
      java.awt.Container
          javax.swing.JComponent
              javax.swing.JTable
                  simplejpa.swing.glazed.GlazedTable
All Implemented Interfaces:
PropertyChangeListener

class GlazedTable
extends JTable

Field Summary
private static Random random

 
Fields inherited from class JTable
AUTO_RESIZE_OFF, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_SUBSEQUENT_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_ALL_COLUMNS, WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT
 
Fields inherited from class JComponent
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT
 
Property Summary
Action doubleClickAction

def doubleClickHandler

Action enterKeyAction

List eventColumns

ca.odell.glazedlists.EventList eventList

Boolean isNotRowSelected

Boolean isRowSelected

Closure onValueChanged

ca.odell.glazedlists.impl.gui.SortingStrategy sortingStrategy

ca.odell.glazedlists.swing.TableComparatorChooser tableComparatorChooser

GlazedTableFormat tableFormat

List visibleColumns

 
Constructor Summary
GlazedTable()

GlazedTable(ca.odell.glazedlists.EventList eventList)

 
Method Summary
void addEventColumn(GlazedColumn eventColumn)

void build()

private boolean isInstanceOfNumber(Class aClass)

void propertyChange(PropertyChangeEvent evt)

 
Methods inherited from class JTable
print, print, print, print, print, addNotify, getAccessibleContext, removeNotify, doLayout, getUI, getUIClassID, setUI, updateUI, getToolTipText, convertColumnIndexToModel, convertColumnIndexToView, getCellRect, getCellRenderer, getColumn, getColumnCount, getModel, getValueAt, clearSelection, selectAll, getDragEnabled, getDropLocation, getDropMode, getPreferredScrollableViewportSize, getPrintable, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, setDragEnabled, setDropMode, setModel, getSelectionModel, setSelectionModel, getSelectionBackground, getEditorComponent, getSelectionForeground, removeEditor, setSelectionBackground, setSelectionForeground, setSelectionMode, valueChanged, changeSelection, getRowCount, getRowHeight, getRowHeight, addColumn, addColumnSelectionInterval, addRowSelectionInterval, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, convertRowIndexToModel, convertRowIndexToView, createDefaultColumnsFromModel, createScrollPaneForTable, editCellAt, editCellAt, editingCanceled, editingStopped, getAutoCreateColumnsFromModel, getAutoCreateRowSorter, getAutoResizeMode, getCellEditor, getCellEditor, getCellSelectionEnabled, getColumnClass, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getEditingColumn, getEditingRow, getFillsViewportHeight, getGridColor, getIntercellSpacing, getRowMargin, getRowSelectionAllowed, getRowSorter, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getShowHorizontalLines, getShowVerticalLines, getSurrendersFocusOnKeystroke, getTableHeader, getUpdateSelectionOnSort, isCellEditable, isCellSelected, isColumnSelected, isEditing, isRowSelected, moveColumn, prepareEditor, prepareRenderer, removeColumn, removeColumnSelectionInterval, removeRowSelectionInterval, rowAtPoint, setAutoCreateColumnsFromModel, setAutoCreateRowSorter, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setEditingColumn, setEditingRow, setFillsViewportHeight, setGridColor, setIntercellSpacing, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setRowSorter, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSurrendersFocusOnKeystroke, setTableHeader, setUpdateSelectionOnSort, setValueAt, sizeColumnsToFit, sizeColumnsToFit, sorterChanged, tableChanged, contains, getLocation, print, getSize, isOpaque, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, setBackground, getBounds, getHeight, getListeners, getMinimumSize, getPreferredSize, getRootPane, getWidth, getX, getY, isValidateRoot, paint, requestFocus, requestFocus, reshape, setMinimumSize, setOpaque, setVisible, getAlignmentX, getAlignmentY, getInsets, getInsets, getMaximumSize, setFocusTraversalKeys, setFont, update, getBaseline, getBaselineResizeBehavior, getFontMetrics, getGraphics, isDoubleBuffered, printAll, repaint, repaint, requestFocusInWindow, revalidate, setEnabled, setForeground, setMaximumSize, setPreferredSize, addVetoableChangeListener, getVetoableChangeListeners, removeVetoableChangeListener, getDefaultLocale, getTransferHandler, setTransferHandler, putClientProperty, setAlignmentX, addAncestorListener, computeVisibleRect, createToolTip, getActionForKeyStroke, getActionMap, getAncestorListeners, getAutoscrolls, getBorder, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getToolTipLocation, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, grabFocus, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, paintImmediately, paintImmediately, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, requestDefaultFocus, resetKeyboardActions, scrollRectToVisible, setActionMap, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setInheritsPopupMenu, setInputMap, setInputVerifier, setNextFocusableComponent, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, add, add, add, add, add, remove, remove, list, list, removeAll, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, getComponent, getComponentCount, getFocusTraversalKeys, getFocusTraversalPolicy, invalidate, isFocusCycleRoot, isFocusCycleRoot, setFocusCycleRoot, setLayout, validate, addContainerListener, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponentAt, getComponentAt, getComponentZOrder, getComponents, getContainerListeners, getLayout, getMousePosition, insets, isAncestorOf, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, locate, minimumSize, paintComponents, preferredSize, printComponents, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, toString, getName, add, contains, size, getLocation, getParent, remove, setName, list, list, list, getSize, isValid, setSize, setSize, resize, resize, location, enable, action, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getCursor, getToolkit, getTreeLock, isDisplayable, setCursor, getFont, postEvent, getBounds, getFocusCycleRootAncestor, getGraphicsConfiguration, getInputContext, getLocale, getLocationOnScreen, getPeer, handleEvent, hide, isMinimumSizeSet, isShowing, isVisible, setBounds, setBounds, setLocation, setLocation, show, show, dispatchEvent, getMousePosition, isEnabled, isFocusOwner, isFocusable, isLightweight, isMaximumSizeSet, isPreferredSizeSet, transferFocus, transferFocusBackward, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, createImage, createImage, createVolatileImage, createVolatileImage, enableInputMethods, getColorModel, getComponentListeners, getComponentOrientation, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getPropertyChangeListeners, getPropertyChangeListeners, gotFocus, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isFocusTraversable, isFontSet, isForegroundSet, keyDown, keyUp, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, setComponentOrientation, setDropTarget, setFocusTraversalKeysEnabled, setFocusable, setIgnoreRepaint, setLocale, transferFocusUpCycle, getClass, hashCode, equals, notify, notifyAll, wait, wait, wait
 
Methods inherited from class JComponent
contains, getLocation, print, getSize, isOpaque, disable, enable, addNotify, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, removeNotify, setBackground, getBounds, getHeight, getListeners, getMinimumSize, getPreferredSize, getRootPane, getWidth, getX, getY, isValidateRoot, paint, requestFocus, requestFocus, reshape, setMinimumSize, setOpaque, setVisible, getAlignmentX, getAlignmentY, getInsets, getInsets, getMaximumSize, setFocusTraversalKeys, setFont, update, getBaseline, getBaselineResizeBehavior, getFontMetrics, getGraphics, isDoubleBuffered, printAll, repaint, repaint, requestFocusInWindow, revalidate, setEnabled, setForeground, setMaximumSize, setPreferredSize, addVetoableChangeListener, getVetoableChangeListeners, removeVetoableChangeListener, getDefaultLocale, getTransferHandler, setTransferHandler, getUIClassID, putClientProperty, setAlignmentX, updateUI, addAncestorListener, computeVisibleRect, createToolTip, getActionForKeyStroke, getActionMap, getAncestorListeners, getAutoscrolls, getBorder, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, grabFocus, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, paintImmediately, paintImmediately, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, requestDefaultFocus, resetKeyboardActions, scrollRectToVisible, setActionMap, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setInheritsPopupMenu, setInputMap, setInputVerifier, setNextFocusableComponent, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, add, add, add, add, add, remove, remove, list, list, removeAll, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, getComponent, getComponentCount, getFocusTraversalKeys, getFocusTraversalPolicy, invalidate, isFocusCycleRoot, isFocusCycleRoot, setFocusCycleRoot, setLayout, validate, addContainerListener, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponentAt, getComponentAt, getComponentZOrder, getComponents, getContainerListeners, getLayout, getMousePosition, insets, isAncestorOf, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, locate, minimumSize, paintComponents, preferredSize, printComponents, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, toString, getName, add, contains, size, getLocation, getParent, remove, setName, list, list, list, getSize, isValid, setSize, setSize, resize, resize, location, enable, action, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getCursor, getToolkit, getTreeLock, isDisplayable, setCursor, getFont, postEvent, getBounds, getFocusCycleRootAncestor, getGraphicsConfiguration, getInputContext, getLocale, getLocationOnScreen, getPeer, handleEvent, hide, isMinimumSizeSet, isShowing, isVisible, setBounds, setBounds, setLocation, setLocation, show, show, dispatchEvent, getMousePosition, isEnabled, isFocusOwner, isFocusable, isLightweight, isMaximumSizeSet, isPreferredSizeSet, transferFocus, transferFocusBackward, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, createImage, createImage, createVolatileImage, createVolatileImage, enableInputMethods, getColorModel, getComponentListeners, getComponentOrientation, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getPropertyChangeListeners, getPropertyChangeListeners, gotFocus, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isFocusTraversable, isFontSet, isForegroundSet, keyDown, keyUp, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, setComponentOrientation, setDropTarget, setFocusTraversalKeysEnabled, setFocusable, setIgnoreRepaint, setLocale, transferFocusUpCycle, getClass, hashCode, equals, notify, notifyAll, wait, wait, wait
 

Field Detail

random

private static final Random random


 
Property Detail

doubleClickAction

Action doubleClickAction


doubleClickHandler

final def doubleClickHandler


enterKeyAction

Action enterKeyAction


eventColumns

List eventColumns


eventList

ca.odell.glazedlists.EventList eventList


isNotRowSelected

@Bindable
Boolean isNotRowSelected


isRowSelected

@Bindable
Boolean isRowSelected


onValueChanged

Closure onValueChanged


sortingStrategy

ca.odell.glazedlists.impl.gui.SortingStrategy sortingStrategy


tableComparatorChooser

ca.odell.glazedlists.swing.TableComparatorChooser tableComparatorChooser


tableFormat

GlazedTableFormat tableFormat


visibleColumns

List visibleColumns


 
Constructor Detail

GlazedTable

GlazedTable()


GlazedTable

GlazedTable(ca.odell.glazedlists.EventList eventList)


 
Method Detail

addEventColumn

void addEventColumn(GlazedColumn eventColumn)


build

void build()


isInstanceOfNumber

private boolean isInstanceOfNumber(Class aClass)


propertyChange

@Override
void propertyChange(PropertyChangeEvent evt)


 

Groovy Documentation