| Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||
java.lang.Object
|
+----java.awt.Component
The Component class is the abstract superclass of
the nonmenu-related Abstract Window Toolkit components. Class
Component can also be extended directly to create a
lightweight component. A lightweight component is a component that is
not associated with a native opaque window.
| Field Summary | |
| static float | BOTTOM_ALIGNMENT
getAlignmentY.
|
| static float | CENTER_ALIGNMENT
getAlignmentY and
getAlignmentX.
|
| static float | LEFT_ALIGNMENT
getAlignmentX.
|
| static float | RIGHT_ALIGNMENT
getAlignmentX.
|
| static float | TOP_ALIGNMENT
getAlignmentY().
|
| Constructor Summary | |
| Component()
|
|
| Method Summary | |
| boolean | action(Event evt,
Object what)
|
| void | add(PopupMenu popup)
|
| void | addComponentListener(ComponentListener l)
|
| void | addFocusListener(FocusListener l)
|
| void | addInputMethodListener(InputMethodListener l)
|
| void | addKeyListener(KeyListener l)
|
| void | addMouseListener(MouseListener l)
|
| void | addMouseMotionListener(MouseMotionListener l)
|
| void | addNotify()
|
| void | addPropertyChangeListener(PropertyChangeListener listener)
|
| void | addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
| Rectangle | bounds()
|
| int | checkImage(Image image,
ImageObserver observer)
|
| int | checkImage(Image image,
int width,
int height,
ImageObserver observer)
|
| AWTEvent | coalesceEvents(AWTEvent existingEvent,
AWTEvent newEvent)
|
| boolean | contains(int x,
int y)
x and y are defined to be
relative to the coordinate system of this component.
|
| boolean | contains(Point p)
|
| Image | createImage(ImageProducer producer)
|
| Image | createImage(int width,
int height)
|
| void | deliverEvent(Event e)
|
| void | disable()
|
| void | disableEvents(long eventsToDisable)
|
| void | dispatchEvent(AWTEvent e)
|
| void | doLayout()
|
| void | enable()
|
| void | enable(boolean b)
|
| void | enableEvents(long eventsToEnable)
|
| void | enableInputMethods(boolean enable)
|
| void | firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
|
| float | getAlignmentX()
|
| float | getAlignmentY()
|
| Color | getBackground()
|
| Rectangle | getBounds()
Rectangle object.
|
| ColorModel | getColorModel()
ColorModel used to display
the component on the output device.
|
| Component | getComponentAt(int x,
int y)
|
| Component | getComponentAt(Point p)
|
| Cursor | getCursor()
|
| DropTarget | getDropTarget()
|
| Font | getFont()
|
| FontMetrics | getFontMetrics(Font font)
|
| Color | getForeground()
|
| Graphics | getGraphics()
|
| int | getHeight()
|
| InputContext | getInputContext()
|
| InputMethodRequests | getInputMethodRequests()
|
| Locale | getLocale()
|
| Point | getLocation()
|
| Point | getLocationOnScreen()
|
| Dimension | getMaximumSize()
|
| Dimension | getMinimumSize()
|
| String | getName()
|
| Container | getParent()
|
| java.awt.peer.ComponentPeer | getPeer()
|
| Dimension | getPreferredSize()
|
| Dimension | getSize()
Dimension object.
|
| Toolkit | getToolkit()
|
| Object | getTreeLock()
|
| int | getWidth()
|
| int | getX()
|
| int | getY()
|
| boolean | gotFocus(Event evt,
Object what)
|
| boolean | handleEvent(Event evt)
|
| boolean | hasFocus()
|
| void | hide()
|
| boolean | imageUpdate(Image img,
int flags,
int x,
int y,
int w,
int h)
|
| boolean | inside(int x,
int y)
|
| void | invalidate()
|
| boolean | isDisplayable()
|
| boolean | isEnabled()
|
| boolean | isFocusTraversable()
|
| boolean | isLightweight()
|
| boolean | isOpaque()
|
| boolean | isShowing()
|
| boolean | isValid()
|
| boolean | isVisible()
|
| boolean | keyDown(Event evt,
int key)
|
| boolean | keyUp(Event evt,
int key)
|
| void | layout()
|
| void | list()
System.out.
|
| void | list(PrintStream out)
|
| void | list(PrintStream out,
int indent)
|
| void | list(PrintWriter out)
|
| void | list(PrintWriter out,
int indent)
|
| Component | locate(int x,
int y)
|
| Point | location()
|
| boolean | lostFocus(Event evt,
Object what)
|
| Dimension | minimumSize()
|
| boolean | mouseDown(Event evt,
int x,
int y)
|
| boolean | mouseDrag(Event evt,
int x,
int y)
|
| boolean | mouseEnter(Event evt,
int x,
int y)
|
| boolean | mouseExit(Event evt,
int x,
int y)
|
| boolean | mouseMove(Event evt,
int x,
int y)
|
| boolean | mouseUp(Event evt,
int x,
int y)
|
| void | move(int x,
int y)
|
| void | nextFocus()
|
| void | paint(Graphics g)
|
| void | paintAll(Graphics g)
|
| String | paramString()
|
| boolean | postEvent(Event e)
|
| Dimension | preferredSize()
|
| boolean | prepareImage(Image image,
ImageObserver observer)
|
| boolean | prepareImage(Image image,
int width,
int height,
ImageObserver observer)
|
| void | print(Graphics g)
|
| void | printAll(Graphics g)
|
| void | processComponentEvent(ComponentEvent e)
ComponentListener objects.
|
| void | processEvent(AWTEvent e)
|
| void | processFocusEvent(FocusEvent e)
FocusListener objects.
|
| void | processInputMethodEvent(InputMethodEvent e)
InputMethodListener objects.
|
| void | processKeyEvent(KeyEvent e)
|
| void | processMouseEvent(MouseEvent e)
MouseListener objects.
|
| void | processMouseMotionEvent(MouseEvent e)
MouseMotionListener objects.
|
| void | remove(MenuComponent popup)
|
| void | removeComponentListener(ComponentListener l)
|
| void | removeFocusListener(FocusListener l)
|
| void | removeInputMethodListener(InputMethodListener l)
|
| void | removeKeyListener(KeyListener l)
|
| void | removeMouseListener(MouseListener l)
|
| void | removeMouseMotionListener(MouseMotionListener l)
|
| void | removeNotify()
|
| void | removePropertyChangeListener(PropertyChangeListener listener)
|
| void | removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
| void | repaint()
|
| void | repaint(long tm)
|
| void | repaint(int x,
int y,
int width,
int height)
|
| void | repaint(long tm,
int x,
int y,
int width,
int height)
tm milliseconds.
|
| void | requestFocus()
|
| void | reshape(int x,
int y,
int width,
int height)
|
| void | resize(int width,
int height)
|
| void | resize(Dimension d)
|
| void | setBackground(Color c)
|
| void | setBounds(int x,
int y,
int width,
int height)
|
| void | setBounds(Rectangle r)
r.
|
| void | setCursor(Cursor cursor)
|
| void | setDropTarget(DropTarget dt)
|
| void | setEnabled(boolean b)
b.
|
| void | setFont(Font f)
|
| void | setForeground(Color c)
|
| void | setLocale(Locale l)
|
| void | setLocation(int x,
int y)
|
| void | setLocation(Point p)
|
| void | setName(String name)
|
| void | setSize(int width,
int height)
width
and height.
|
| void | setSize(Dimension d)
d.width
and height d.height.
|
| void | setVisible(boolean b)
b.
|
| void | show()
|
| void | show(boolean b)
|
| Dimension | size()
|
| String | toString()
|
| void | transferFocus()
|
| void | update(Graphics g)
|
| void | validate()
|
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final float TOP_ALIGNMENT
getAlignmentY(). Specifies an
alignment to the top of the component.public static final float CENTER_ALIGNMENT
getAlignmentY and
getAlignmentX. Specifies an alignment to
the center of the componentpublic static final float BOTTOM_ALIGNMENT
getAlignmentY. Specifies an
alignment to the bottom of the component.public static final float LEFT_ALIGNMENT
getAlignmentX. Specifies an
alignment to the left side of the component.public static final float RIGHT_ALIGNMENT
getAlignmentX. Specifies an
alignment to the right side of the component.| Constructor Detail |
protected Component()
Component can be
extended directly to create a lightweight component that does not
utilize an opaque native window. A lightweight component must be
hosted by a native container somewhere higher up in the component
tree (for example, by a Frame object).| Method Detail |
public String getName()
public void setName(String name)
name
- The string that is to be this
component's name.
public Container getParent()
public java.awt.peer.ComponentPeer getPeer()
boolean isDisplayable().
public void setDropTarget(DropTarget dt)
dt
- The DropTarget
public DropTarget getDropTarget()
public final Object getTreeLock()
public Toolkit getToolkit()
public boolean isValid()
true if the component is valid; false
otherwise.public boolean isDisplayable()
true if the component is displayable;
false otherwise.public boolean isVisible()
Frame objects.true if the component is visible;
false otherwise.public boolean isShowing()
true if the component is showing;
false otherwise.public boolean isEnabled()
setEnabled method.true if the component is enabled;
false otherwise.public void setEnabled(boolean b)
b. An enabled component can respond to user
input and generate events. Components are enabled initially by default.
b
- If true, this component is
enabled; otherwise this component is disabled.
public void enable()
setEnabled(boolean).
public void enable(boolean b)
setEnabled(boolean).
public void disable()
setEnabled(boolean).
public void enableInputMethods(boolean enable)
enable
- true to enable, false to disable.
public void setVisible(boolean b)
b.
b
- If true, shows this component;
otherwise, hides this component.
public void show()
setVisible(boolean).
public void show(boolean b)
setVisible(boolean).
public void hide()
setVisible(boolean).
public Color getForeground()
public void setForeground(Color c)
c
- The color to become this component's
foreground color.
public Color getBackground()
public void setBackground(Color c)
c
- The color to become this component's
background color.
public Font getFont()
public void setFont(Font f)
f
- The font to become this component's font.
public Locale getLocale()
public void setLocale(Locale l)
l
- The locale to become this component's locale.
public ColorModel getColorModel()
ColorModel used to display
the component on the output device.public Point getLocation()
Point representing
the top-left corner of the component's bounds in the coordinate
space of the component's parent.public Point getLocationOnScreen()
Point representing
the top-left corner of the component's bounds in the
coordinate space of the screen.public Point location()
getLocation().
public void setLocation(int x,
int y)
x and y
parameters in the coordinate space of this component's parent.
x
- The x-coordinate of the new location's
top-left corner in the parent's coordinate space.
y
- The y-coordinate of the new location's
top-left corner in the parent's coordinate space.
public void move(int x,
int y)
setLocation(int, int).
public void setLocation(Point p)
p. Point
p is given in the parent's coordinate space.
p
- The point defining the top-left corner
of the new location, given in the coordinate space of this
component's parent.
public Dimension getSize()
Dimension object. The height
field of the Dimension object contains
this component's height, and the width
field of the Dimension object contains
this component's width.Dimension object that indicates the
size of this component.public Dimension size()
getSize().
public void setSize(int width,
int height)
width
and height.
width
- The new width of this component in pixels.
height
- The new height of this component in pixels.
public void resize(int width,
int height)
setSize(int, int).
public void setSize(Dimension d)
d.width
and height d.height.
d
- The dimension specifying the new size
of this component.
public void resize(Dimension d)
setSize(Dimension).
public Rectangle getBounds()
Rectangle object. The bounds specify this
component's width, height, and location relative to
its parent.public Rectangle bounds()
getBounds().
public void setBounds(int x,
int y,
int width,
int height)
x and y, and the
new size is specified by width and height.
x
- The new x-coordinate of this component.
y
- The new y-coordinate of this component.
width
- The new width of this component.
height
- The new height of this
component.
public void reshape(int x,
int y,
int width,
int height)
setBounds(int, int, int, int).
public void setBounds(Rectangle r)
r. This component's new
position is specified by r.x and r.y,
and its new size is specified by r.width and
r.height
r
- The new bounding rectangle for this component.
- See Also:
- getBounds, setLocation(int, int), setLocation(java.awt.Point), setSize(int, int), setSize(java.awt.Dimension)
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public boolean isOpaque()
An opaque component paints every pixel within its rectangular region. A non-opaque component paints only some of its pixels, allowing the pixels underneath it to "show through". A component that does not fully paint its pixels therefore provides a degree of transparency. Only lightweight components can be transparent.
Subclasses that guarantee to always completely paint their contents should override this method and return true. All of the "heavyweight" AWT components are opaque.
public boolean isLightweight()
public Dimension getPreferredSize()
public Dimension preferredSize()
getPreferredSize().
public Dimension getMinimumSize()
public Dimension minimumSize()
getMinimumSize().
public Dimension getMaximumSize()
public float getAlignmentX()
public float getAlignmentY()
public void doLayout()
public void layout()
doLayout().
public void validate()
Container.public void invalidate()
public Graphics getGraphics()
null if this component is currently not on
the screen.null
if it has none.public FontMetrics getFontMetrics(Font font)
font
- The font for which font metrics is to be
obtained.
font
- the font.
font.public void setCursor(Cursor cursor)
cursor
- One of the constants defined
by the Cursor class.
public Cursor getCursor()
public void paint(Graphics g)
g
- The graphics context to use for painting.
public void update(Graphics g)
The AWT calls the update method in response to a
call to repaintupdate or paint. You can assume that
the background is not cleared.
The updatemethod of Component
does the following:
- Clears this component by filling it with the background color.
- Sets the color of the graphics context to be the foreground color of this component.
- Calls this component's
paintmethod to completely redraw this component.
The origin of the graphics context, its
(0, 0) coordinate point, is the
top-left corner of this component. The clipping region of the
graphics context is the bounding rectangle of this component.
g
- the specified context to use for updating.
public void paintAll(Graphics g)
The origin of the graphics context, its
(0, 0) coordinate point, is the
top-left corner of this component. The clipping region of the
graphics context is the bounding rectangle of this component.
g
- the graphics context to use for painting.
public void repaint()
This method causes a call to this component's update
method as soon as possible.
public void repaint(long tm)
update within tm milliseconds.
tm
- maximum time in milliseconds before update
public void repaint(int x,
int y,
int width,
int height)
This method causes a call to this component's update
method as soon as possible.
x
- the x coordinate.
y
- the y coordinate.
width
- the width.
height
- the height.
public void repaint(long tm,
int x,
int y,
int width,
int height)
tm milliseconds.
This method causes a call to this component's
update method.
tm
- maximum time in milliseconds before update.
x
- the x coordinate.
y
- the y coordinate.
width
- the width.
height
- the height.
public void print(Graphics g)
The default implementation of this method calls the
paint method.
The origin of the graphics context, its
(0, 0) coordinate point, is the
top-left corner of this component. The clipping region of the
graphics context is the bounding rectangle of this component.
g
- the graphics context to use for printing.
public void printAll(Graphics g)
The origin of the graphics context, its
(0, 0) coordinate point, is the
top-left corner of this component. The clipping region of the
graphics context is the bounding rectangle of this component.
g
- the graphics context to use for printing.
public boolean imageUpdate(Image img,
int flags,
int x,
int y,
int w,
int h)
imageUpdate method of an ImageObserver
is called when more information about an
image which had been previously requested using an asynchronous
routine such as the drawImage method of
Graphics becomes available.
See the definition of imageUpdate for
more information on this method and its arguments.
The imageUpdate method of Component
incrementally draws an image on the component as more of the bits
of the image are available.
If the system property awt.image.incrementalDraw
is missing or has the value true, the image is
incrementally drawn, If the system property has any other value,
then the image is not drawn until it has been completely loaded.
Also, if incremental drawing is in effect, the value of the
system property awt.image.redrawrate is interpreted
as an integer to give the maximum redraw rate, in milliseconds. If
the system property is missing or cannot be interpreted as an
integer, the redraw rate is once every 100ms.
The interpretation of the x, y,
width, and height arguments depends on
the value of the infoflags argument.
img
- the image being observed.
infoflags
- see imageUpdate for more information.
x
- the x coordinate.
y
- the y coordinate.
width
- the width.
height
- the height.
true if the flags indicate that the
image is completely loaded;
false otherwise.public Image createImage(ImageProducer producer)
producer
- the image producer
public Image createImage(int width,
int height)
width
- the specified width.
height
- the specified height.
public boolean prepareImage(Image image,
ImageObserver observer)
image
- the Image for which to
prepare a screen representation.
observer
- the ImageObserver object
to be notified as the image is being prepared.
true if the image has already been fully prepared;
false otherwise.
public boolean prepareImage(Image image,
int width,
int height,
ImageObserver observer)
The image data is downloaded asynchronously in another thread, and an appropriately scaled screen representation of the image is generated.
image
- the instance of Image
for which to prepare a screen representation.
width
- the width of the desired screen representation.
height
- the height of the desired screen representation.
observer
- the ImageObserver object
to be notified as the image is being prepared.
true if the image has already been fully prepared;
false otherwise.
public int checkImage(Image image,
ImageObserver observer)
This method does not cause the image to begin loading. An
application must use the prepareImage method
to force the loading of an image.
Information on the flags returned by this method can be found
with the discussion of the ImageObserver interface.
image
- the Image object whose status
is being checked.
observer
- the ImageObserver
object to be notified as the image is being prepared.
ImageObserver flags indicating what
information about the image is currently available.
public int checkImage(Image image,
int width,
int height,
ImageObserver observer)
This method does not cause the image to begin loading. An
application must use the prepareImage method
to force the loading of an image.
The checkImage method of Component
calls its peer's checkImage method to calculate
the flags. If this component does not yet have a peer, the
component's toolkit's checkImage method is called
instead.
Information on the flags returned by this method can be found
with the discussion of the ImageObserver interface.
image
- the Image object whose status
is being checked.
width
- the width of the scaled version
whose status is to be checked.
height
- the height of the scaled version
whose status is to be checked.
observer
- the ImageObserver object
to be notified as the image is being prepared.
ImageObserver flags indicating what
information about the image is currently available.
public boolean contains(int x,
int y)
x and y are defined to be
relative to the coordinate system of this component.
x
- the x coordinate of the point.
y
- the y coordinate of the point.
public boolean inside(int x,
int y)
public boolean contains(Point p)
p
- the point.
public Component getComponentAt(int x,
int y)
The locate method of Component simply
returns the component itself if the (x, y)
coordinate location is inside its bounding box, and null
otherwise.
x
- the x coordinate.
y
- the y coordinate.
null if the location
is outside this component.
public Component locate(int x,
int y)
public Component getComponentAt(Point p)
p
- the point.
public void deliverEvent(Event e)
dispatchEvent(AWTEvent e).
public final void dispatchEvent(AWTEvent e)
e
- the event
public boolean postEvent(Event e)
public void addComponentListener(ComponentListener l)
l
- the component listener.
public void removeComponentListener(ComponentListener l)
l
- the component listener.
public void addFocusListener(FocusListener l)
l
- the focus listener.
public void removeFocusListener(FocusListener l)
l
- the focus listener.
public void addKeyListener(KeyListener l)
l
- the key listener.
public void removeKeyListener(KeyListener l)
l
- the key listener.
public void addMouseListener(MouseListener l)
l
- the mouse listener.
public void removeMouseListener(MouseListener l)
l
- the mouse listener.
public void addMouseMotionListener(MouseMotionListener l)
l
- the mouse motion listener.
public void removeMouseMotionListener(MouseMotionListener l)
l
- the mouse motion listener.
public void addInputMethodListener(InputMethodListener l)
l
- the input method listener.
public void removeInputMethodListener(InputMethodListener l)
l
- the input method listener.
public InputMethodRequests getInputMethodRequests()
public InputContext getInputContext()
protected final void enableEvents(long eventsToEnable)
Event types are automatically enabled when a listener for that event type is added to the component.
This method only needs to be invoked by subclasses of
Component which desire to have the specified event
types delivered to processEvent regardless of whether
or not a listener is registered.
eventsToEnable
- the event mask defining the event types.
protected final void disableEvents(long eventsToDisable)
eventsToDisable
- the event mask defining the event types
protected AWTEvent coalesceEvents(AWTEvent existingEvent,
AWTEvent newEvent)
This implementation of coalesceEvents coalesces two event types: mouse move (and drag) events, and paint (and update) events. For mouse move events the last event is always returned, causing intermediate moves to be discarded. For paint events where the update rectangles intersect, an event is returned which has an update rectangle which is the union of the two events.
Note: this method must never be synchronized (nor methods it invokes), as it is called from the underlying native event code. Any deadlock with an overwritten version of this method is the responsibility of the party who overwrote this method!
existingEvent
- the event already on the EventQueue.
newEvent
- the event being posted to the EventQueue.
protected void processEvent(AWTEvent e)
process<event type>Event
method for the given class of event.
e
- the event.
protected void processComponentEvent(ComponentEvent e)
ComponentListener objects.
This method is not called unless component events are enabled for this component. Component events are enabled when one of the following occurs:
ComponentListener object is registered
via addComponentListener.
enableEvents.
e
- the component event.
protected void processFocusEvent(FocusEvent e)
FocusListener objects.
This method is not called unless focus events are enabled for this component. Focus events are enabled when one of the following occurs:
FocusListener object is registered
via addFocusListener.
enableEvents.
e
- the focus event.
protected void processKeyEvent(KeyEvent e)
This method is not called unless key events are enabled for this component. Key events are enabled when one of the following occurs:
KeyListener object is registered
via addKeyListener.
enableEvents.
e
- the key event.
protected void processMouseEvent(MouseEvent e)
MouseListener objects.
This method is not called unless mouse events are enabled for this component. Mouse events are enabled when one of the following occurs:
MouseListener object is registered
via addMouseListener.
enableEvents.
e
- the mouse event.
protected void processMouseMotionEvent(MouseEvent e)
MouseMotionListener objects.
This method is not called unless mouse motion events are enabled for this component. Mouse motion events are enabled when one of the following occurs:
MouseMotionListener object is registered
via addMouseMotionListener.
enableEvents.
e
- the mouse motion event.
protected void processInputMethodEvent(InputMethodEvent e)
InputMethodListener objects.
This method is not called unless input method events are enabled for this component. Input method events are enabled when one of the following occurs:
InputMethodListener object is registered
via addInputMethodListener.
enableEvents.
e
- the input method event
public boolean handleEvent(Event evt)
public boolean mouseDown(Event evt,
int x,
int y)
public boolean mouseDrag(Event evt,
int x,
int y)
public boolean mouseUp(Event evt,
int x,
int y)
public boolean mouseMove(Event evt,
int x,
int y)
public boolean mouseEnter(Event evt,
int x,
int y)
public boolean mouseExit(Event evt,
int x,
int y)
public boolean keyDown(Event evt,
int key)
public boolean keyUp(Event evt,
int key)
public boolean action(Event evt,
Object what)
public void addNotify()
public void removeNotify()
public boolean gotFocus(Event evt,
Object what)
public boolean lostFocus(Event evt,
Object what)
public boolean isFocusTraversable()
requestFocus(), but it will not automatically
be assigned focus during tab traversal.true if this component is
focus-traverable; false otherwise.public void requestFocus()
public void transferFocus()
public void nextFocus()
public boolean hasFocus()
public void add(PopupMenu popup)
popup
- the popup menu to be added to the component.
public void remove(MenuComponent popup)
popup
- the popup menu to be removed.
protected String paramString()
public String toString()
public void list()
System.out.public void list(PrintStream out)
out
- a print stream.
public void list(PrintStream out,
int indent)
out
- a print stream.
indent
- number of spaces to indent.
public void list(PrintWriter out)
out
- The print writer to print to.
public void list(PrintWriter out,
int indent)
out
- The print writer to print to.
indent
- The number of spaces to indent.
public void addPropertyChangeListener(PropertyChangeListener listener)
A PropertyChangeEvent will get fired in response to an explicit setFont, setBackground, or SetForeground on the current component. Note that if the current component is inheriting its foreground, background, or font from its container, then no event will be fired in response to a change in the inherited property.
listener
- The PropertyChangeListener to be added
public void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The PropertyChangeListener to be removed
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
propertyName
- The name of the property to listen on.
listener
- The PropertyChangeListener to be added
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
propertyName
- The name of the property that was listened on.
listener
- The PropertyChangeListener to be removed
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
| Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||