|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.JCActionAdapter
Convenience class that implements the JCACtion
interface.
The methods in this adapter are called by the JCChart3dArea
object
when a user action is started, animated, reanimated, ended, or cancelled.
Constructor Summary | |
JCActionAdapter()
|
Method Summary | |
void |
animate(InputEvent event,
int x,
int y)
Called by JCChart3dArea when the action is to be animated. |
void |
cancel()
Called by JCChart3dArea when the action is cancelled. |
void |
end(InputEvent event,
int x,
int y)
Called by JCChart3dArea when the action is over. |
com.klg.jclass.chart3d.JCChart3dArea |
getChart3dArea()
Returns the associated JCChart3dArea object. |
void |
initialize(Object object)
Called by JCChart3dArea when the action is initialized. |
void |
reanimate(int x,
int y)
Called by JCChart3dArea when the chart area has been refreshed
and the animation must be redrawn. |
void |
setChart3dArea(com.klg.jclass.chart3d.JCChart3dArea chart3dArea)
Sets the associated JCChart3dArea object. |
void |
start(InputEvent event,
int x,
int y)
Called by JCChart3dArea when the action is started. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCActionAdapter()
Method Detail |
public void setChart3dArea(com.klg.jclass.chart3d.JCChart3dArea chart3dArea)
JCChart3dArea
object.
setChart3dArea
in interface JCAction
chart3dArea
- the new JCChart3dArea
objectpublic com.klg.jclass.chart3d.JCChart3dArea getChart3dArea()
JCChart3dArea
object. This must be
overridden by subclasses.
getChart3dArea
in interface JCAction
JCChart3dArea
objectpublic void initialize(Object object)
JCChart3dArea
when the action is initialized.
initialize
in interface JCAction
object
- initialization parameterspublic void start(InputEvent event, int x, int y)
JCChart3dArea
when the action is started.
start
in interface JCAction
event
- the InputEvent
that triggered this actionx
- the x position to start the actiony
- the y position to start the actionpublic void animate(InputEvent event, int x, int y)
JCChart3dArea
when the action is to be animated.
animate
in interface JCAction
event
- the InputEvent
that triggered this actionx
- the current x position to animate the actiony
- the current y position to animate the actionpublic void reanimate(int x, int y)
JCChart3dArea
when the chart area has been refreshed
and the animation must be redrawn.
reanimate
in interface JCAction
x
- the x position to re-animate the actiony
- the y position to re-animate the actionpublic void end(InputEvent event, int x, int y)
JCChart3dArea
when the action is over.
end
in interface JCAction
event
- the InputEvent
that triggered this actionx
- the x position to end the actiony
- the y position to end the actionpublic void cancel()
JCChart3dArea
when the action is cancelled.
cancel
in interface JCAction
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |