|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.jdesktop.jxlayer.item.LayerItemChangeEvent
public class LayerItemChangeEvent
LayerItemChangeEvent provides notification of changes
to a LayerItem.
LayerItem,
LayerItemListener,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
LayerItemChangeEvent(LayerItem source)
Creates a new LayerItemEvent object. |
|
| Method Summary | |
|---|---|
java.awt.Shape |
getClip(int width,
int height)
Since one LayerItemChangeEvent can be sent to multiple
JXLayers, this method gives an opportunity
for the subclasses of LayerItemChangeEvent to define
the precise part of a JXLayer to be repainted. |
LayerItem |
getSource()
Returns the LayerItem on which the event initially occurred. |
| Methods inherited from class java.util.EventObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayerItemChangeEvent(LayerItem source)
LayerItemEvent object.
source - the object on which the event initially occurred.
java.lang.IllegalArgumentException - if source is null.| Method Detail |
|---|
public LayerItem getSource()
LayerItem on which the event initially occurred.
getSource in class java.util.EventObjectLayerItem on which the event initially occurred.
public java.awt.Shape getClip(int width,
int height)
LayerItemChangeEvent can be sent to multiple
JXLayers, this method gives an opportunity
for the subclasses of LayerItemChangeEvent to define
the precise part of a JXLayer to be repainted.
width - the current width of a JXLayerheight - the current height of a JXLayer
JXLayer to be repainted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||