|
||||||||||
| 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.TablePanel
edu.neu.ccs.gui.PathListView
Class PathListView creates a view for input and output
of a PathList in a GUI.
As of 2.6.0a, does not impose the restriction that the first non-empty
PathNodeView contain a MOVE operation. Instead,
if the caller demands or requests a PathList, the list will
be created provided that all PathNodeView’s are either
entirely whitespace or contain a valid PathNode string. It
is up to the caller to determine whether or not the isValid()
method of the PathList returns true.
As of 2.6.0a, added methods to get and set the winding rule independent of the path node data.
| 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 | |
private static int |
gap
The table panel gap = 5. |
protected SimpleArrayPanel |
nodeListPanel
The node list simple array panel. |
protected Display |
nodeListWrapper
The titled wrapper for the node list simple array panel. |
protected TableLayout |
windingRuleLayout
The winding rule radio panel layout. |
protected StringObjectRadioPanel |
windingRulePanel
The winding rule radio panel. |
private static Object[][] |
windingRuleStuff
The winding rule objects for the radio panel. |
protected Display |
windingRuleWrapper
The titled wrapper for the winding rule radio panel. |
| Fields inherited from class edu.neu.ccs.gui.TablePanel |
DEFAULT_ALIGNMENT, DEFAULT_ORIENTATION, tg |
| 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 | |
PathListView()
The default constructor. |
|
| Method Summary | |
PathList |
demandPathList()
The demand method to return the path list defined in this view. |
WindingRule |
getWindingRule()
Get the winding rule setting of this view. |
PathList |
requestPathList()
The request method to return the path list defined in this view. |
void |
setViewFromPathList(PathList pathList)
Set the path list data from the given path list. |
void |
setWindingRule(WindingRule rule)
Set the winding rule setting of this view. |
| 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 |
private static final int gap
private static final Object[][] windingRuleStuff
protected TableLayout windingRuleLayout
protected StringObjectRadioPanel windingRulePanel
protected SimpleArrayPanel nodeListPanel
protected Display windingRuleWrapper
protected Display nodeListWrapper
| Constructor Detail |
public PathListView()
| Method Detail |
public final PathList demandPathList()
public final PathList requestPathList()
throws CancelledException
CancelledExceptionpublic final void setViewFromPathList(PathList pathList)
public final WindingRule getWindingRule()
public final void setWindingRule(WindingRule rule)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||