|
||||||||||
| 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
edu.neu.ccs.gui.DisplayPanel
edu.neu.ccs.gui.VisualColorSampler
Class VisualColorSampler combines
a VisualColorList with
a CheckerBoard so that a user can
experiment with colors and color contrasts.
This class returns no color information directly but the caller can obtain references to the internal views and obtain information from these views.
ColorView,
MultiColorView,
VisualColorList,
CheckerBoard,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
protected int |
GAP
The gap between the cells in the internal TablePanel. |
protected TablePanel |
mainPanel
The internal TablePanel. |
protected Object[][] |
mainStuff
The stuff in the internal TablePanel. |
protected VisualColorList |
panel1
The left hand panel: VisualColorList |
protected CheckerBoard |
panel2
The right hand panel: CheckerBoard |
protected String |
title1
The left hand panel title. |
protected String |
title2
The right hand panel title. |
| Fields inherited from class edu.neu.ccs.gui.DisplayPanel |
background, codec, CODEC |
| Fields inherited from class javax.swing.JPanel |
|
| 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 edu.neu.ccs.gui.Displayable |
DEFAULT_VIEW_STATE, VIEW_STATE |
| Fields inherited from interface edu.neu.ccs.util.JPTConstants |
ABOVE, ALIGNMENT, BELOW, BOTTOM_LEFT, BOTTOM_RIGHT, DEFAULT, FONT, INPUT_PROPERTIES, MANDATORY, OPTIONAL, ORIENTATION, TOP_LEFT, TOP_RIGHT, VALUE |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
VisualColorSampler()
Constructs the VisualColorSampler
with its VisualColorList and
CheckerBoard. |
|
| Method Summary | |
CheckerBoard |
getCheckerBoard()
Returns the internal CheckerBoard. |
VisualColorList |
getVisualColorList()
Returns the internal VisualColorList. |
static void |
main(String[] args)
Launches a VisualColorSampler in its
own frame. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int GAP
protected String title1
protected String title2
protected VisualColorList panel1
VisualColorList.
protected CheckerBoard panel2
CheckerBoard.
protected Object[][] mainStuff
protected TablePanel mainPanel
| Constructor Detail |
public VisualColorSampler()
Constructs the VisualColorSampler
with its VisualColorList and
CheckerBoard.
| Method Detail |
public VisualColorList getVisualColorList()
VisualColorList.
public CheckerBoard getCheckerBoard()
CheckerBoard.
public static void main(String[] args)
Launches a VisualColorSampler in its
own frame.
args - ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||