|
|
|||||||||
| 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
|
+--edu.brook.ascape.view.CanvasView
|
+--edu.brook.ascape.view.BaseCellView
|
+--edu.brook.ascape.view.StretchyView
|
+--edu.brook.ascape.view.FixedStretchyView
A class providing a view of an scape vector.
| Fields inherited from class edu.brook.ascape.view.StretchyView |
imageHeight,
imageWidth |
| Fields inherited from class edu.brook.ascape.view.BaseCellView |
borderSize,
cellColorFeature,
cellCustomizer,
cells_fill_draw_feature,
cells_fill_draw_inset_feature,
cellSize,
drawSelection,
updateAllRequested,
viewCustomizer |
| Fields inherited from class edu.brook.ascape.view.CanvasView |
awaitingUpdate,
bufferedGraphics,
bufferedImage,
currentUpdate,
drawEveryNUpdates,
frame,
name,
recorder,
recordNext,
scape |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
FixedStretchyView(int maxElements)
|
|
| Method Summary | |
void |
addNotify()
Override addNotify to build buffer. |
Cell |
cellAtPixel(int x,
int y)
|
void |
drawAgentAt(Agent agent,
int position)
|
protected void |
drawSelectedCell(java.awt.Graphics g)
|
void |
onSetup()
|
void |
onUpdate()
|
| Methods inherited from class edu.brook.ascape.view.StretchyView |
addScape,
getPreferredSize,
paint,
setBarValueAttribute1,
setBarValueAttribute2 |
| Methods inherited from class edu.brook.ascape.view.BaseCellView |
build,
displayCellCustomizer,
displayViewCustomizer,
getBorderSize,
getCellColorFeature,
getCellSize,
getCustomizeCell,
getDrawSelection,
hideCellCustomizer,
requestUpdateAll,
setBorderSize,
setCellColorFeature,
setCellSize,
setCustomizeCell |
| Methods inherited from class edu.brook.ascape.view.CanvasView |
finalize,
getDrawEveryNUpdates,
getGraphicsRecorder,
getName,
getScape,
getViewFrame,
initializeBuffer,
onIterate,
onStart,
onStop,
removeScape,
scapeUpdated,
setDrawEveryNUpdates,
setGraphicsRecorder,
setName,
setViewFrame,
toString,
update,
updated |
| Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
deliverEvent,
disable,
disableEvents,
dispatchEvent,
doLayout,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getAlignmentX,
getAlignmentY,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentAt,
getComponentAt,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getMaximumSize,
getMinimumSize,
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,
paramString,
postEvent,
preferredSize,
prepareImage,
prepareImage,
print,
printAll,
processComponentEvent,
processEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setFont,
setForeground,
setLocale,
setLocation,
setLocation,
setSize,
setSize,
setVisible,
show,
show,
size,
transferFocus,
validate |
| Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public FixedStretchyView(int maxElements)
| Method Detail |
public void addNotify()
public void onSetup()
public void onUpdate()
public Cell cellAtPixel(int x,
int y)
protected void drawSelectedCell(java.awt.Graphics g)
public void drawAgentAt(Agent agent,
int position)
|
(c) 1998-2000 The Brookings Insitution Webpage |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||