| java.lang.Object java.awt.Component java.awt.Container java.awt.Panel edu.hws.jcm.awt.Animator
Animator | public class Animator extends Panel implements Value,Tieable,InputObject,ActionListener,ItemListener,Runnable(Code) | | An Animator can change a value continuously, without user intervention, by running
a separate Thread. By default, an animator appears as a "Start" button. When the
button is pressed, the value of the animator starts counting 0, 1, 2, ... The button
changes to a "Stop" button. When this is pressed, the value stops changing. A Controller
can be set, by calling the setOnChange() method, to be notified whenever the value is
changed. If this is done, then the value of the Animator will only change when its
checkInput() method is called, so it should be added to a Controller which will call
this method.
The getValueAsVariable() method can be called to get a Variable whose value is
the value of the Animator. This variable can then be added to a Parser, so it can
be used in expressions. An Animator is "Tieable", so it can share its value
with another InputObject, such as a VariableSlider or a VariableIput.
There are many options: If maximum and minimum values are both specified, then the value
of the Animator ranges between these values. By default, this interval is divided into
100 sub-intervals, so that there are 101 frames. However, the number of intervals can
also be set. If no min or max is specified but a number of intervals is specified,
then the value is an integer which ranges from 0 up to the specified number of intervals.
If the number of frames is finite, then there are three possibities when the last
frame is reached: The animation can stop; it can loop back to the the starting
frame, or it can reverse direction and cycle back and forth. The behavior is controlled
with the setLoopStyle() method.
An Animator is actually a Panel which can contain other controls in addition to or
instead of the Start/Stop button. For example, it can contain a "Next" button or
a pop-up menu to control the speed.
|
Field Summary | |
final public static int | BACK_AND_FORTH Represents a loop style in which the animation is cycled back and forth. | final public static int | HORIZONTAL Indicates that the components in the Animator panel are to be in a horizontal row. | final public static int | LOOP Represents a loop style in which the animation is played repeatedly. | final public static int | ONCE Represents a loop style in which the animation is played once. | final public static int | START_STOP_BUTTONSTART_BUTTONPAUSE_BUTTONSTOP_BUTTONNEXT_BUTTONPREV_BUTTONSPEED_CHOICELOOP_CHOICE Used to add a component to the Animator Panel; can be used in a constructor
or in the addControl() method. | final public static int | VERTICAL Indicates that the components in the Animator panel are to be stacked vertically. |
Constructor Summary | |
public | Animator() Create a default Animator. | public | Animator(int controls) Create an Animator containing the specified control. | public | Animator(int controls, int orientation) Create an Animator containing specified controls. | public | Animator(int controls, int orientation, Value min, Value max, Value intervals) Create an Animator with specified controls, orienation, range limits and number of intervals
Parameters: controls - Specify the controls to add to the Animator. |
Method Summary | |
public synchronized void | actionPerformed(ActionEvent evt) Respond to button clicks. | public Component | addControl(int controlCode) Add one of the possible control buttons or pop-up menus to the Animator. | public void | checkInput() Part of the IputObject interface. | public Component | getControl(int controlCode) Get one of controls associated with the Animator. | public Value | getIntervals() Get the Value object that specifies the number of frames in the animation. | public int | getLoopStyle() Get the loop style, which determines what happens when the final frame of the animation is reached. | public Value | getMax() Get the Value object that specifies the final value of the Animator. | public int | getMillisPerFrame() Get the nominal number of milliseconds per frame. | public Value | getMin() Get the Value object that specifies the starting value of the Animator. | public Computable | getOnChange() Get the Controller that is notified (by calling its compute() method) whenever
the frame changes. | public int | getOrientation() Get the constant, VERTICAL or HORIZONTAL, that was used to specify whether the components
in the animator are arranged veritcally or horizontally. | public long | getSerialNumber() Part of the Tieable interface. | public boolean | getUndefinedWhenNotRunning() Get the value of the undefinedWhenNotRunning property. | public double | getVal() Get the current value of the Animator. | public Variable | getValueAsVariable() Get a variable whose value is always equal to the value of the animator. | public Variable | getValueAsVariable(String name) Get a variable whose value is always equal to the value of the animator. | public synchronized void | itemStateChanged(ItemEvent evt) Respond to clicks on pop-up menus. | public synchronized void | next() Advance the animation by one frame. | public void | notifyControllerOnChange(Controller c) Method required by the InputObject interface. | public synchronized void | pause() Pause the animation, if it is running. | public synchronized void | prev() Advance the animation BACK one frame. | public void | run() The method that is run by the animation thread. | public void | setIntervals(Value intervals) Set the Value object that specifies the number of frames in the animation. | public void | setIntervals(int intervals) A convenience method that simply calls setIntervals(new Constant(d)). | public void | setLoopStyle(int style) Set the loop style, which determines what happens when the final frame of the animation is reached. | public void | setMax(Value max) Set the Value object that gives the final value of the Animator. | public void | setMax(double d) A convenience method that simply calls setMax(new Constant(d)). | public void | setMillisPerFrame(int millis) Set the nominal number of milliseconds per frame. | public void | setMin(Value min) Set the Value object that gives the starting value of the Animator. | public void | setMin(double d) A convenience method that simply calls setMin(new Constant(d)). | public void | setOnChange(Computable onChange) Set the Controller that is notified (by calling its compute() method) whenever
the frame changes. | public void | setOrientation(int orientation) Set the orientation of the components in the Animator panel. | public void | setStartButtonName(String name) The name of the Start/Stop button is managed by the Animator, so changing it directly makes
no sense. | public void | setStopButtonName(String name) The name of the Start/Stop button is managed by the Animator, so changing it directly makes
no sense. | public void | setUndefinedWhenNotRunning(boolean undefinedWhenNotRunning) Set the value of the undefinedWhenNotRunning property. | public synchronized void | setVal(double val) Set the value of the animation. | public synchronized void | start() Start the animation from the first frame, or continue it if it was paused. | public synchronized void | stop() Stop the animation, if it is running or paused. | public void | sync(Tie tie, Tieable newest) Part of the Tieable interface. |
BACK_AND_FORTH | final public static int BACK_AND_FORTH(Code) | | Represents a loop style in which the animation is cycled back and forth. When the final frame
is reached, the animation reverses direction. Use in the setLoopStyle() method.
|
HORIZONTAL | final public static int HORIZONTAL(Code) | | Indicates that the components in the Animator panel are to be in a horizontal row.
(Can be used in a constructor and in the setOrientation method.)
|
LOOP | final public static int LOOP(Code) | | Represents a loop style in which the animation is played repeatedly. When the final frame
is reached, the animation returns to the first frame. Use in the setLoopStyle() method.
|
ONCE | final public static int ONCE(Code) | | Represents a loop style in which the animation is played once. When the final frame
is reached, the animation ends. Use in the setLoopStyle() method.
|
START_STOP_BUTTONSTART_BUTTONPAUSE_BUTTONSTOP_BUTTONNEXT_BUTTONPREV_BUTTONSPEED_CHOICELOOP_CHOICE | final public static int START_STOP_BUTTONSTART_BUTTONPAUSE_BUTTONSTOP_BUTTONNEXT_BUTTONPREV_BUTTONSPEED_CHOICELOOP_CHOICE(Code) | | Used to add a component to the Animator Panel; can be used in a constructor
or in the addControl() method. Can also be used in the getControl() method
to specify which component is to be retrieved.
|
VERTICAL | final public static int VERTICAL(Code) | | Indicates that the components in the Animator panel are to be stacked vertically.
(Can be used in a constructor and in the setOrientation method.)
|
Animator | public Animator()(Code) | | Create a default Animator. If no changes are made by calling other methods, it will appear as
a Start/Stop button. When Start is pressed, the value will count 0, 1, 2, 3, ..., until the Stop
button is pressed. Restarting the animation starts the value again at zero.
|
Animator | public Animator(int controls)(Code) | | Create an Animator containing the specified control. The parameter can consist of one or
more of the following constants, or'ed together: START_STOP_BUTTON, START_BUTTON, STOP_BUTTON,
PAUSE_BUTTON, NEXT_BUTTON, PREV_BUTTON, SPEED_CHOICE, LOOP_CHOICE. If no changes are made
by calling other methods, the value of the Animator will be 0, 1, 2, 3, .... The components
are arranged into one horizontal row, using a GridLayout.
|
Animator | public Animator(int controls, int orientation)(Code) | | Create an Animator containing specified controls. (See the one-parameter constructor.)
The second parameter should be one of the constants HORIZONTAL or VERTICAL, to specify
how the components are arranged in the Animator panel.
|
Animator | public Animator(int controls, int orientation, Value min, Value max, Value intervals)(Code) | | Create an Animator with specified controls, orienation, range limits and number of intervals
Parameters: controls - Specify the controls to add to the Animator. Can consist of one ormore of the following constants, or'ed together: START_STOP_BUTTON, START_BUTTON, STOP_BUTTON,PAUSE_BUTTON, NEXT_BUTTON, PREV_BUTTON, SPEED_CHOICE, LOOP_CHOICE. Parameters: orientation - How the controls are arranged in the panel. One of the constants VERTICAL or HORIZONTAL. Parameters: min - If BOTH min and max are non-null, they specify the range of values of the Animator. Parameters: max - If BOTH min and max are non-null, they specify the range of values of the Animator. Parameters: intervals - If non-null, specifies the number of intervals into which the range of valuesis divided. Note that the value will be rounded to the nearest integer and clamped to therange 0 to 100000. The number of frames is the number of intervals, plus one. If min and max arenon-null and intervals is null, then a default value of 100 is used. If either min or max isnull and intervals is non-null, then the Animator takes on the values 0, 1, 2, ..., intervals. |
actionPerformed | public synchronized void actionPerformed(ActionEvent evt)(Code) | | Respond to button clicks. This is not meant to be called directly.
|
addControl | public Component addControl(int controlCode)(Code) | | Add one of the possible control buttons or pop-up menus to the Animator. The possible values
of the parameter and their meanings are as follows:
START_STOP_BUTTON: When clicked, animation starts and name of button changes; when clicked again, animation stops.
START_BUTTON: When clicked, animation starts.
STOP_BUTTON: When clicked, animaton stops.
PAUSE_BUTTON: When clicked, animation is paused; this is different from stopping the animation since
a paused animation can be resumed from the same point while a stopped animation can only be restarted
from the beginning.
NEXT_BUTTON: When clicked, the animation advances one frame; this is disabled when the animation is running.
PREV_BUTTON: When clicked, the animation is moved back one frame; this is disabled when the animation is running.
SPEED_CHOICE: A pop-up menu whose value controls the speed at which the animation plays.
LOOP_CHOICE: A pop-up menu that controls the style of animation, that is, what happens when the
animation reaches its final frame; values are Play Once, Loop, and Back and Forth.
If the parameter is not one of these constants, then nothing is done. Ordinarily, this
will be called during initialization. (If you call it at some other time, you will have
to validate the panel yourself.) The return value is the component that is added, or null
if the parameter value is not legal.
|
checkInput | public void checkInput()(Code) | | Part of the IputObject interface. This is meant to be called by a Controller.
|
getControl | public Component getControl(int controlCode)(Code) | | Get one of controls associated with the Animator. Usually, these are displayed
in the Animator panel, but you could get a control and add it to another panel if you
want. Even if you do this, the control will still be managed by the Animator (which
will respond to it and enable/disable it, for example). You might also want to get
one of the Animator's buttons so that you can change its label. The value
of the parameter should be one of the constants START_STOP_BUTTON, START_BUTTON, STOP_BUTTON,
PAUSE_BUTTON, NEXT_BUTTON, PREV_BUTTON, SPEED_CHOICE, LOOP_CHOICE. If the parameter is
not one of these values, then null is returned.
|
getIntervals | public Value getIntervals()(Code) | | Get the Value object that specifies the number of frames in the animation. This can be null.
|
getLoopStyle | public int getLoopStyle()(Code) | | Get the loop style, which determines what happens when the final frame of the animation is reached.
|
getMax | public Value getMax()(Code) | | Get the Value object that specifies the final value of the Animator. This object can be null.
|
getMillisPerFrame | public int getMillisPerFrame()(Code) | | Get the nominal number of milliseconds per frame. The actual time between frames
can be longer because of the work that is done processing the frame or on other tasks.
|
getMin | public Value getMin()(Code) | | Get the Value object that specifies the starting value of the Animator. This object can be null.
|
getOnChange | public Computable getOnChange()(Code) | | Get the Controller that is notified (by calling its compute() method) whenever
the frame changes. This can be null.
|
getOrientation | public int getOrientation()(Code) | | Get the constant, VERTICAL or HORIZONTAL, that was used to specify whether the components
in the animator are arranged veritcally or horizontally.
|
getSerialNumber | public long getSerialNumber()(Code) | | Part of the Tieable interface. This is meant to be called by other Tieable objects
as part of object synchronization.
|
getUndefinedWhenNotRunning | public boolean getUndefinedWhenNotRunning()(Code) | | Get the value of the undefinedWhenNotRunning property.
|
getVal | public double getVal()(Code) | | Get the current value of the Animator.
|
getValueAsVariable | public Variable getValueAsVariable()(Code) | | Get a variable whose value is always equal to the value of the animator.
The name of the variable will be k.
|
getValueAsVariable | public Variable getValueAsVariable(String name)(Code) | | Get a variable whose value is always equal to the value of the animator.
The name of the variable is specified by the parameter.
|
itemStateChanged | public synchronized void itemStateChanged(ItemEvent evt)(Code) | | Respond to clicks on pop-up menus. This is not meant to be called directly.
|
next | public synchronized void next()(Code) | | Advance the animation by one frame. This will start the animation from the
first frame if it is stopped. This has no effect unless the animation is
stopped or paused. This is called when the Next button pressed, but
it could also be called directly.
|
notifyControllerOnChange | public void notifyControllerOnChange(Controller c)(Code) | | Method required by the InputObject interface. It just calls setOnChange(c).
This is meant to be called by the gatherInputs() method in JCMPanel.
|
pause | public synchronized void pause()(Code) | | Pause the animation, if it is running.
This is called when the Pause button is pressed, but
it could also be called directly.
|
prev | public synchronized void prev()(Code) | | Advance the animation BACK one frame. This will start the animation from the
first frame if it is stopped. This has no effect unless the animation is
stopped or paused. This is called when the Prev button pressed, but
it could also be called directly.
|
run | public void run()(Code) | | The method that is run by the animation thread. This is not meant to be called directly.
|
setIntervals | public void setIntervals(Value intervals)(Code) | | Set the Value object that specifies the number of frames in the animation. If non-null, then
the value is rounded to the nearest integer and clamped to the range 1 to 100000. If it is
null and min and max are non-null, then a default value of 100 is used. If it is null and
min or max is null, then the number of frames is unlimited and the values taken on by the
animator are 0, 1, 2, 3, ..., that is, the value of the animator is the frame number.
If min or max is null and intervals is non-null, then the values taken on by the
animator are 0, 1, 2, ..., intervals. Note that the number of frames is (intervals+1).
|
setIntervals | public void setIntervals(int intervals)(Code) | | A convenience method that simply calls setIntervals(new Constant(d)).
|
setLoopStyle | public void setLoopStyle(int style)(Code) | | Set the loop style, which determines what happens when the final frame of the animation is reached.
The parameter can be one of the constants: ONCE (animation stops when final frame is reached),
LOOP (animation cycles back to the first frame and continues from there); or BACK_AND_FORTH (animation reverses direction
and cycles back and forth).
|
setMax | public void setMax(Value max)(Code) | | Set the Value object that gives the final value of the Animator. If both min and max are
non-null, the value of the Animator ranges from min to max as the animation procedes. (It is not required
that max be greater than min. They should probably be calles startVal and endVal.)
|
setMax | public void setMax(double d)(Code) | | A convenience method that simply calls setMax(new Constant(d)).
|
setMillisPerFrame | public void setMillisPerFrame(int millis)(Code) | | Set the nominal number of milliseconds per frame. The actual time between frames
can be longer because of the work that is done processing the frame or on other tasks.
Values less than 5 are effectively equivalent to 5. Realistic values are 25 or more,
but it depends on what system the program is running on and how complicated each frame is.
|
setMin | public void setMin(Value min)(Code) | | Set the Value object that gives the starting value of the Animator. If both min and max are
non-null, the value ranges from min to max as the animation procedes. (It is not required
that max be greater than min.)
|
setMin | public void setMin(double d)(Code) | | A convenience method that simply calls setMin(new Constant(d)).
|
setOnChange | public void setOnChange(Computable onChange)(Code) | | Set the Controller that is notified (by calling its compute() method) whenever
the frame changes. If null, no Controller is notified. NOTE: Animators are
different from InputObjects in that when onChange is null, the value of animator
and its associated Variable will change without checkInput() being called.
However, if the onChange is not null, then checkInput() must be called for
the value to change. (So the Animation to be added to the Controller by
calling the Controller's add() method. Then, the Controller will call
the checkInput() method.)
|
setOrientation | public void setOrientation(int orientation)(Code) | | Set the orientation of the components in the Animator panel. The parameter should be one
of the constants HORIZONTAL or VERTICAL. This just sets the layout for the panel to
be a GridLayout with one row or one column and validates the panel. You could also
set the layout to be something else, such as a FlowLayout, using the setLayout() method.
|
setStartButtonName | public void setStartButtonName(String name)(Code) | | The name of the Start/Stop button is managed by the Animator, so changing it directly makes
no sense. This method can be used to specify the label displayed by the Start/Stop button
when the animation is NOT running. This name is also used for the Start button. This method
should ordinarily be called during initialization. In any case, it should not be called while
an animation is running, since it changes the name of the Start/Stop button to the specified value.
|
setStopButtonName | public void setStopButtonName(String name)(Code) | | The name of the Start/Stop button is managed by the Animator, so changing it directly makes
no sense. This method can be used to specify the label displayed by the Start/Stop button
when the animation IS running. This name is also used for the Stop button. This method
should ordinarily be called during initialization. In any case, it should not be called while
an animation is running, since it does not change the name of the Start/Stop button.
|
setUndefinedWhenNotRunning | public void setUndefinedWhenNotRunning(boolean undefinedWhenNotRunning)(Code) | | Set the value of the undefinedWhenNotRunning property. If this is true,
then the value of the Animator is Double.NaN except when the animation is
running (or paused), (or if it has been set by a call to the setVal() method).
The default value is false.
|
setVal | public synchronized void setVal(double val)(Code) | | Set the value of the animation. Note that the value does not have to be one of
the values that would ordinarily occur in the animation. Of course, if the animation
is running, then the new value won't be around for long since it will change as
soon as the next frame comes up.
|
start | public synchronized void start()(Code) | | Start the animation from the first frame, or continue it if it was paused.
This is called when the Start button or Start/Stop button is pressed, but
it could also be called directly.
|
stop | public synchronized void stop()(Code) | | Stop the animation, if it is running or paused. This is called when the Stop button
or the StartStop button is pressed, but it could also be called directly.
NOTE: If the Animator is in an applet, then it is a good idea to call the stop()
method of the Animator from the applet's destroy() method.
|
sync | public void sync(Tie tie, Tieable newest)(Code) | | Part of the Tieable interface. This is meant to be called by Tie objects
as part of object synchronization.
|
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
Methods inherited from java.awt.Component | public boolean action(Event evt, Object what)(Code)(Java Doc) public void add(PopupMenu popup)(Code)(Java Doc) public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc) public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public Rectangle bounds()(Code)(Java Doc) public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc) public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean contains(Point p)(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void disable()(Code)(Java Doc) final protected void disableEvents(long eventsToDisable)(Code)(Java Doc) final public void dispatchEvent(AWTEvent e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void enable(boolean b)(Code)(Java Doc) final protected void enableEvents(long eventsToEnable)(Code)(Java Doc) public void enableInputMethods(boolean enable)(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public synchronized DropTarget getDropTarget()(Code)(Java Doc) public Container getFocusCycleRootAncestor()(Code)(Java Doc) public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc) public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc) public boolean getIgnoreRepaint()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc) public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc) public Point getMousePosition() throws HeadlessException(Code)(Java Doc) public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public ComponentPeer getPeer()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) final public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean gotFocus(Event evt, Object what)(Code)(Java Doc) public boolean handleEvent(Event evt)(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public void hide()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public boolean inside(int x, int y)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isBackgroundSet()(Code)(Java Doc) public boolean isCursorSet()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusOwner()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isFocusable()(Code)(Java Doc) public boolean isFontSet()(Code)(Java Doc) public boolean isForegroundSet()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isMaximumSizeSet()(Code)(Java Doc) public boolean isMinimumSizeSet()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isPreferredSizeSet()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyDown(Event evt, int key)(Code)(Java Doc) public boolean keyUp(Event evt, int key)(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream out)(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Point location()(Code)(Java Doc) public boolean lostFocus(Event evt, Object what)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc) public void move(int x, int y)(Code)(Java Doc) public void nextFocus()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintAll(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc) public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processFocusEvent(FocusEvent e)(Code)(Java Doc) protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc) protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc) public void remove(MenuComponent popup)(Code)(Java Doc) public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc) public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(long tm)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) protected boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) public void resize(int width, int height)(Code)(Java Doc) public void resize(Dimension d)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc) public void setFocusable(boolean focusable)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc) public void setLocale(Locale l)(Code)(Java Doc) public void setLocation(int x, int y)(Code)(Java Doc) public void setLocation(Point p)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setSize(int width, int height)(Code)(Java Doc) public void setSize(Dimension d)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void show()(Code)(Java Doc) public void show(boolean b)(Code)(Java Doc) public Dimension size()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void transferFocusBackward()(Code)(Java Doc) public void transferFocusUpCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|