|
||||||||||
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
net.sf.jeppers.grid.JGrid
net.sf.jeppers.grid.JGridHeader
p3j.gui.panels.matrices.GridHeader
public class GridHeader
Header implementation for JGrid
. Implements numbering of rows and
adds a prefix by initializing GridHeaderModel
properly.
Created on January 14, 2007
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class net.sf.jeppers.grid.JGrid |
---|
cellEditor, columnModel, DEFAULT_COLUMN_WIDTH, DEFAULT_ROW_HEIGHT, editingColumn, editingRow, editorComp, gridModel, preferredViewportSize, repaintMgr, rowModel, selectionModel, spanModel, styleModel |
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 java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
GridHeader(net.sf.jeppers.grid.JGrid grid,
String pref,
boolean startWithOne,
boolean column)
Default constructor. |
Method Summary |
---|
Methods inherited from class net.sf.jeppers.grid.JGridHeader |
---|
getUI, getUIClassID, setUI, updateUI |
Methods inherited from class net.sf.jeppers.grid.JGrid |
---|
changeSelection, cloneView, columnAtPoint, create, editCellAt, editCellAt, editingCanceled, editingStopped, ensureCellInVisibleRect, getCellBounds, getCellEditor, getCellRenderer, getColumnCount, getColumnModel, getColumnPosition, getColumnWidth, getCurrentCellEditor, getEditingColumn, getEditingRow, getEditorComponent, getFocusBackgroundColor, getFocusForegroundColor, getGridColor, getGridModel, getPreferredScrollableViewportSize, getRowCount, getRowHeight, getRowModel, getRowPosition, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectionBackgroundColor, getSelectionForegroundColor, getSelectionModel, getShowGrid, getSpanModel, getStyleModel, getValueAt, gridChanged, isCellSpan, isEditing, isSelected, prepareEditor, prepareRenderer, processKeyBinding, removeEditor, resizeAndRepaint, rowAtPoint, setColumnModel, setColumnWidth, setEditingColumn, setEditingRow, setFocusBackgroundColor, setFocusForegroundColor, setGridColor, setGridModel, setPreferredScrollableViewportSize, setRowHeight, setRowModel, setSelectionBackgroundColor, setSelectionForegroundColor, setSelectionModel, setShowGrid, setSpanModel, setStyleModel, setValueAt, updateRepaintManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GridHeader(net.sf.jeppers.grid.JGrid grid, String pref, boolean startWithOne, boolean column)
grid
- the JGrid
componentpref
- the desired prefixstartWithOne
- flag that determines if row/column enumeration starts with one
(true) or with zero (false)column
- true iff this is a column header
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |