|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject jpicedt.graphic.event.ConvexZoneSelectionEvent
public class ConvexZoneSelectionEvent
Un événement produit lorsque une ConvexZone
est sélectionnée, ou désélectionnée.
Nested Class Summary | |
---|---|
static class |
ConvexZoneSelectionEvent.EventType
enumeration for SelectionEvent types |
Field Summary | |
---|---|
protected ConvexZone[] |
convexZones
the elements that were (un)selected |
protected ConvexZoneSelectionEvent.EventType |
type
the event type |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ConvexZoneSelectionEvent(PECanvas source,
ConvexZone[] convexZones,
ConvexZoneSelectionEvent.EventType type)
A new SelectionEvent sourced from the given PECanvas
Use this constructor when several elements were (un)selected. |
|
ConvexZoneSelectionEvent(PECanvas source,
ConvexZone convexZone,
ConvexZoneSelectionEvent.EventType type)
A new SelectionEvent sourced from the given PECanvas . |
Method Summary | |
---|---|
ConvexZone[] |
getConvexZones()
|
ConvexZoneSelectionEvent.EventType |
getType()
|
String |
toString()
Une représentation textuel de cet événement. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ConvexZoneSelectionEvent.EventType type
protected ConvexZone[] convexZones
Constructor Detail |
---|
public ConvexZoneSelectionEvent(PECanvas source, ConvexZone[] convexZones, ConvexZoneSelectionEvent.EventType type)
SelectionEvent
sourced from the given PECanvas
Use this constructor when several elements were (un)selected.
source
- the originator of the eventconvexZones
- the convexe zone that were (un)selectedtype
- the event typepublic ConvexZoneSelectionEvent(PECanvas source, ConvexZone convexZone, ConvexZoneSelectionEvent.EventType type)
SelectionEvent
sourced from the given PECanvas
.
Use this constructor when only one convexZone was (un)selected.
source
- the originator of the eventconvexZone
- the convexZone that was (un)selectedtype
- the event typeMethod Detail |
---|
public ConvexZone[] getConvexZones()
ConvexZone
s qui ont été séléctionnées/désélectionnées.public ConvexZoneSelectionEvent.EventType getType()
public String toString()
toString
in class EventObject
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |