http://www.jpicedt.org

jpicedt.graphic.toolkit
Class ConvexZoneGroup

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<ConvexZone>
              extended by 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

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ConvexZoneGroup()
           
ConvexZoneGroup(Collection<ConvexZone> collection)
           
ConvexZoneGroup(ConvexZone cz)
           
 
Method Summary
 boolean add(ConvexZone o)
           
 void append(ConvexZoneGroup czGroup)
           
 boolean containsPoint(PicPoint pt)
           
 ArrayList<PEConvexZoneAction> createActions(ActionDispatcher actionDispatcher, ActionLocalizer localizer, ConvexZoneHitInfo hi)
          Crée une liste de PEAction's en relation à un ConvexZoneGroup
 Rectangle2D getBoundingBox()
           
protected  Collection<ConvexZone> getCollection()
           
 void translate(double dx, double dy)
           
 
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 class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ConvexZoneGroup

public ConvexZoneGroup()

ConvexZoneGroup

public ConvexZoneGroup(ConvexZone cz)

ConvexZoneGroup

public ConvexZoneGroup(Collection<ConvexZone> collection)
Method Detail

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 actions
hi - une ConvexZoneHitInfo contenant les informations relatives à l'évènement-souris qui a déclencher le menu contextuel.

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org