|
JRubik v0.6 | |||||||||
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.table.JTableHeader
es.aeat.eett.plugins.tableNavi.table.GroupableTableHeader
es.aeat.eett.plugins.tableNavi.tableRubik.AbstractTableHeader
en:
es:
Hay que sobreescribir los metodos:
public int getRowCount();
public int getColumnCount();
public Object getValueAt(int rowIndex, int columnIndex);
Nested Class Summary |
Nested classes inherited from class javax.swing.table.JTableHeader |
javax.swing.table.JTableHeader.AccessibleJTableHeader |
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 | |
static java.lang.String |
COL_HAS_ORDER
|
protected boolean |
hasorder
|
protected Icons |
icons
|
private static java.util.ResourceBundle |
localizationResources
|
protected TablePreparator |
preparator
|
private javax.swing.table.TableCellRenderer |
tcr
|
private javax.swing.table.TableCellRenderer |
tcrBiIcon
|
Fields inherited from class es.aeat.eett.plugins.tableNavi.table.GroupableTableHeader |
columnGroups, showOnlyColumnGroups |
Fields inherited from class javax.swing.table.JTableHeader |
columnModel, draggedColumn, draggedDistance, reorderingAllowed, resizingAllowed, resizingColumn, table, updateTableInRealTime |
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.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
AbstractTableHeader(javax.swing.table.TableColumnModel model)
|
Method Summary | |
RubikCell |
getCellInPos(int x,
int y)
|
protected javax.swing.table.TableCellRenderer |
getCellRender(boolean ultima)
|
int |
getColTableInPos(int x)
|
java.lang.Class |
getColumnClass(int columna)
|
int |
getColumnCount()
IMPORTANTE: Esta implementacion lanza UnsupportedOperationException si no se implemeta este metodo. |
javax.swing.ImageIcon |
getIconNavi(RubikCell c)
|
javax.swing.ImageIcon |
getIconSort(RubikCell c)
|
int |
getIndexRowInPos(int x,
int y)
|
int |
getRowCount()
IMPORTANTE: Esta implementacion lanza UnsupportedOperationException si no se implemeta este metodo. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
IMPORTANTE: Esta implementacion lanza UnsupportedOperationException si no se implemeta este metodo. |
void |
setColWidth()
Establece el tamanio de las columnas en tablas. |
void |
update()
|
Methods inherited from class es.aeat.eett.plugins.tableNavi.table.GroupableTableHeader |
addColumnGroup, getColumnGroups, removeAllColumnGroup, removeColumnGroup, setColumnMargin, setReorderingAllowed, setUI |
Methods inherited from class javax.swing.table.JTableHeader |
columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, createDefaultColumnModel, createDefaultRenderer, getAccessibleContext, getColumnModel, getDefaultRenderer, getDraggedColumn, getDraggedDistance, getHeaderRect, getReorderingAllowed, getResizingAllowed, getResizingColumn, getTable, getToolTipText, getUI, getUIClassID, getUpdateTableInRealTime, initializeLocalVars, paramString, resizeAndRepaint, setColumnModel, setDefaultRenderer, setDraggedColumn, setDraggedDistance, setResizingAllowed, setResizingColumn, setTable, setUpdateTableInRealTime, 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, 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, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, 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, 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 es.aeat.eett.plugins.tableNavi.tableRubik.TablePreparatorListener |
dataChanged |
Methods inherited from interface es.aeat.eett.plugins.tableNavi.tableRubik.MultiHeader |
isVisibleValueAt |
Field Detail |
private static final java.util.ResourceBundle localizationResources
public static final java.lang.String COL_HAS_ORDER
protected boolean hasorder
protected TablePreparator preparator
private javax.swing.table.TableCellRenderer tcr
private javax.swing.table.TableCellRenderer tcrBiIcon
protected Icons icons
Constructor Detail |
public AbstractTableHeader(javax.swing.table.TableColumnModel model) throws java.lang.Exception
model
-
java.lang.Exception
Method Detail |
public int getRowCount()
getRowCount
in interface MultiHeader
public int getColumnCount()
getColumnCount
in interface MultiHeader
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface MultiHeader
public java.lang.Class getColumnClass(int columna)
public RubikCell getCellInPos(int x, int y)
x
- posicion x de un punto en la pantlla (relativa a la cabecera de la table)y
- posicion y de un punto en la pantlla (relativa a la cabecera de la table)
public int getColTableInPos(int x)
x
- posicion x de un punto en la pantlla (relativa a la cabecera de la table)
public int getIndexRowInPos(int x, int y)
x
- posicion x de un punto en la pantalla (relativa a la cabecera de la table)y
- posicion y de un punto en la pantalla (relativa a la cabecera de la table)
public void update()
protected javax.swing.table.TableCellRenderer getCellRender(boolean ultima)
public void setColWidth()
public javax.swing.ImageIcon getIconNavi(RubikCell c)
public javax.swing.ImageIcon getIconSort(RubikCell c)
|
JRubik v0.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |