|
||||||||||
| 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
edu.umd.cs.piccolo.PCanvas
at.tuwien.ifs.somtoolbox.apps.viewer.controls.MapOverviewPane.MapOverviewCanvas
public class MapOverviewPane.MapOverviewCanvas
| 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 | |
|---|---|
(package private) edu.umd.cs.piccolo.PNode |
areaVisiblePNode
This is the node that shows the viewed area. |
(package private) PropertyChangeListener |
changeListener
The change listener to know when to update the birds eye view. |
(package private) int |
layerCount
|
private static long |
serialVersionUID
|
(package private) edu.umd.cs.piccolo.PCanvas |
viewedCanvas
This is the canvas that is being viewed |
| Fields inherited from class edu.umd.cs.piccolo.PCanvas |
|---|
CURRENT_ZCANVAS, INTERATING_CHANGED_NOTIFICATION |
| 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 | |
|---|---|
MapOverviewPane.MapOverviewCanvas()
Creates a new instance of a BirdsEyeView |
|
| Method Summary | |
|---|---|
void |
addLayer(edu.umd.cs.piccolo.PLayer new_layer)
Add a layer to list of viewed layers |
void |
connect(edu.umd.cs.piccolo.PCanvas canvas,
edu.umd.cs.piccolo.PLayer[] viewed_layers)
|
void |
disconnect()
Stop the birds eye view from receiving events from the viewed canvas and remove all layers |
void |
propertyChange(PropertyChangeEvent event)
This method will get called when the viewed canvas changes |
void |
removeLayer(edu.umd.cs.piccolo.PLayer old_layer)
Remove the layer from the viewed layers |
void |
updateFromViewed()
This method gets the state of the viewed canvas and updates the BirdsEyeViewer This can be called from outside code |
| Methods inherited from class edu.umd.cs.piccolo.PCanvas |
|---|
addInputEventListener, createDefaultCamera, createTimer, getAnimating, getCamera, getInteracting, getLayer, getPanEventHandler, getRoot, getZoomEventHandler, installInputSources, paintComponent, paintImmediately, popCursor, pushCursor, removeInputEventListener, removeInputSources, repaint, sendInputEventToInputManager, setAnimatingRenderQuality, setBounds, setCamera, setDefaultRenderQuality, setEnabled, setInteracting, setInteractingRenderQuality, setPanEventHandler, setZoomEventHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
edu.umd.cs.piccolo.PNode areaVisiblePNode
edu.umd.cs.piccolo.PCanvas viewedCanvas
PropertyChangeListener changeListener
int layerCount
| Constructor Detail |
|---|
public MapOverviewPane.MapOverviewCanvas()
| Method Detail |
|---|
public void connect(edu.umd.cs.piccolo.PCanvas canvas,
edu.umd.cs.piccolo.PLayer[] viewed_layers)
public void addLayer(edu.umd.cs.piccolo.PLayer new_layer)
public void removeLayer(edu.umd.cs.piccolo.PLayer old_layer)
public void disconnect()
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpublic void updateFromViewed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||