jpicedt.graphic.toolkit
Class ConvexZoneGroup
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ConvexZone>
jpicedt.graphic.toolkit.ConvexZoneGroup
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<ConvexZone>, Collection<ConvexZone>, List<ConvexZone>, RandomAccess, ConvexZoneActionFactory
- Direct Known Subclasses:
- ConvexZoneSet, DefaultConvexZoneSelectionHandler
public class ConvexZoneGroup
- extends ArrayList<ConvexZone>
- implements Collection<ConvexZone>, ConvexZoneActionFactory
Describe class ConvexZoneGroup
here.
- Since:
- jPicEdt 1.6
- Version:
- $Id: ConvexZoneGroup.java,v 1.6 2013/03/27 06:59:36 vincentb1 Exp $
- Author:
- Vincent Belaïche
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from interface java.util.Collection |
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
ConvexZoneGroup
public ConvexZoneGroup()
ConvexZoneGroup
public ConvexZoneGroup(ConvexZone cz)
ConvexZoneGroup
public ConvexZoneGroup(Collection<ConvexZone> collection)
append
public void append(ConvexZoneGroup czGroup)
add
public boolean add(ConvexZone o)
- Specified by:
add
in interface Collection<ConvexZone>
- Specified by:
add
in interface List<ConvexZone>
- Overrides:
add
in class ArrayList<ConvexZone>
getCollection
protected Collection<ConvexZone> getCollection()
getBoundingBox
public Rectangle2D getBoundingBox()
containsPoint
public boolean containsPoint(PicPoint pt)
translate
public void translate(double dx,
double dy)
createActions
public ArrayList<PEConvexZoneAction> createActions(ActionDispatcher actionDispatcher,
ActionLocalizer localizer,
ConvexZoneHitInfo hi)
- Description copied from interface:
ConvexZoneActionFactory
- Crée une liste de
PEAction
's en relation à un ConvexZoneGroup
- Specified by:
createActions
in interface ConvexZoneActionFactory
- Parameters:
actionDispatcher
- répartiteur utilisé pour créer unePEAction
localizer
- utilisé pour localiser les paramètre des actionshi
- une ConvexZoneHitInfo
contenant les informations relatives à l'évènement-souris qui a
déclencher le menu contextuel.
Submit a bug : syd@jpicedt.org