|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ViewContainer extends java.io.Serializable
ViewContainer is an adapter, which connects a view with some input/output device. It allows the view to do more than just rendering. Chart can process mouse input to perform zooming, rotation, etc. The chart can request screen updates, when chart data changes.
| Modifier and Type | Method and Description |
|---|---|
void |
addGestureListener(GestureListener l)
Adds the specified gesture listener to receive gesture events from this view container. |
void |
addMouseListener(java.awt.event.MouseListener l)
Adds the specified mouse listener to receive mouse events from this view container. |
void |
addMouseMotionListener(java.awt.event.MouseMotionListener l)
Adds the specified mouse motion listener to receive mouse motion events from this view container. |
void |
addMouseWheelListener(java.awt.event.MouseWheelListener l)
Adds the specified mouse listener to receive mouse wheel events from this view container. |
void |
addMultitouchListener(MultitouchListener l)
Adds the specified multitouch listener to receive multitouch events from this view container. |
ChartObjectsMap |
getChartObjectsMap()
Returns a chart objects map for the container |
java.awt.Component |
getComponent()
Returns the associated Component |
HotSpotMap |
getHotSpotMap()
Returns a hot spot map for the container |
AbstractGraphics |
getUpdateGraphics()
Returns the default graphics context, where any view can render itself |
View |
getView()
Returns chart view. |
void |
removeGestureListener(GestureListener l)
Removes the specified gesture listener so that it no longer receives gesture events from this view container. |
void |
removeMouseListener(java.awt.event.MouseListener l)
Removes the specified mouse listener so that it no longer receives mouse events from this view container. |
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener l)
Removes the specified mouse motion listener so that it no longer receives mouse motion events from this view container. |
void |
removeMouseWheelListener(java.awt.event.MouseWheelListener l)
Removes the specified mouse wheel listener so that it no longer receives mouse wheels events from this view container. |
void |
removeMultitouchListener(MultitouchListener l)
Removes the specified multitouch listener so that it no longer receives multitouch events from this view container. |
void |
repaint(Rectangle2D bounds)
Requests a container update |
void |
revalidate()
Requests a container to be revalidated |
| Method Detail |
|---|
AbstractGraphics getUpdateGraphics()
java.awt.Component getComponent()
void repaint(Rectangle2D bounds)
bounds - the specified rectangle of this view container to repaintvoid revalidate()
HotSpotMap getHotSpotMap()
ChartObjectsMap getChartObjectsMap()
void addMouseListener(java.awt.event.MouseListener l)
l - the mouse listenervoid addMouseWheelListener(java.awt.event.MouseWheelListener l)
l - the mouse listenervoid addGestureListener(GestureListener l)
l - the gesture listenervoid addMultitouchListener(MultitouchListener l)
l - the gesture listenervoid removeMouseListener(java.awt.event.MouseListener l)
l - the mouse listenervoid addMouseMotionListener(java.awt.event.MouseMotionListener l)
l - the mouse motion listenervoid removeMouseMotionListener(java.awt.event.MouseMotionListener l)
l - the mouse motion listenervoid removeMouseWheelListener(java.awt.event.MouseWheelListener l)
l - the mouse motion listenervoid removeGestureListener(GestureListener l)
l - the gesture listenervoid removeMultitouchListener(MultitouchListener l)
l - the gesture listenerView getView()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||