|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Canvas | +--com.transjam.awt.CheckCountGrid
Select elements in a grid. Each element can be individually enabled or disabled. Each element has an associated count.
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 | |
CheckCountGrid(int pNumRows,
int pNumColumns)
|
Method Summary | |
int |
getCount(int row,
int column)
|
boolean |
getEnabled(int row,
int column)
|
java.awt.Dimension |
getMinimumSize()
|
int |
getNumColumns()
|
int |
getNumElements()
|
java.awt.Dimension |
getPreferredSize()
|
boolean |
getState(int index)
|
boolean |
getState(int row,
int column)
|
void |
paint(java.awt.Graphics g)
|
int |
rowColumnToIndex(int row,
int column)
|
void |
setCount(int index,
int count)
|
void |
setEnabled(boolean flag)
Set all of the elements enabled flag |
void |
setEnabled(int index,
boolean flag)
|
void |
setNumColumns(int pNumColumns)
|
void |
setState(int index,
boolean flag)
|
void |
setState(int row,
int column,
boolean flag)
|
Methods inherited from class java.awt.Canvas |
addNotify, getAccessibleContext |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CheckCountGrid(int pNumRows, int pNumColumns)
Method Detail |
public int rowColumnToIndex(int row, int column)
public int getCount(int row, int column)
public void setCount(int index, int count)
public void setEnabled(boolean flag)
setEnabled
in class java.awt.Component
public void setEnabled(int index, boolean flag)
public boolean getEnabled(int row, int column)
public void setState(int row, int column, boolean flag)
public void setState(int index, boolean flag)
public boolean getState(int row, int column)
public boolean getState(int index)
public void setNumColumns(int pNumColumns)
public int getNumColumns()
public int getNumElements()
public void paint(java.awt.Graphics g)
paint
in class java.awt.Canvas
public java.awt.Dimension getMinimumSize()
getMinimumSize
in class java.awt.Component
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class java.awt.Component
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |