|
Graphics2D Actor API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectg2d.glyph.Identifiable
g2d.glyph.Attributable
g2d.glyph.Glyphish
g2d.glyph.GlyphList
public class GlyphList
The start of our next generation Ezd package. This class that wraps multiple Glyphish things into one while being Glyphish.
| Field Summary |
|---|
| Fields inherited from class g2d.glyph.Glyphish |
|---|
DEBUG |
| Fields inherited from class g2d.glyph.Identifiable |
|---|
uid |
| Constructor Summary | |
|---|---|
GlyphList()
|
|
| Method Summary | |
|---|---|
void |
add(Glyphish g)
Add something glyphish to this list. |
void |
add(Glyphish g,
AffineTransform a)
Add something glyphish to this list transforming it beforehand using given affine transformation. |
void |
clear()
|
boolean |
contains(Glyphish g)
Obtain whether this list contains given glyphish thing. |
Rectangle2D |
getBounds()
|
Glyphish |
getGlyphThing(Point2D p)
|
protected ListIterator<Glyphish> |
getListIterator()
Obtain list iterator through list of Glyphish things. |
boolean |
inside(Point2D p)
|
boolean |
intersects(Rectangle2D rect)
|
int |
length()
Obtain the current number of glyphish things in this list. |
void |
paint(Graphics2D g2d)
|
void |
remove(Glyphish g)
Remove all occurences of given glyphish thing from this list. |
void |
transform(AffineTransform a)
|
| Methods inherited from class g2d.glyph.Glyphish |
|---|
keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, rotate, rotate, scale, setKeyAction, setMouseAction, shear, translate, unsetMouseAction |
| Methods inherited from class g2d.glyph.Identifiable |
|---|
getObject, getUID, setUID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlyphList()
| Method Detail |
|---|
public Glyphish getGlyphThing(Point2D p)
public Rectangle2D getBounds()
getBounds in class Glyphishpublic boolean inside(Point2D p)
inside in class Glyphishpublic boolean intersects(Rectangle2D rect)
intersects in class Glyphishpublic void add(Glyphish g)
null.
g - Glyphish thing to be added
public void add(Glyphish g,
AffineTransform a)
null.
g - Glyphish thing to be addeda - AffineTransform to be applied before additionpublic void clear()
public void remove(Glyphish g)
null.
g - Glyphish to be removedpublic boolean contains(Glyphish g)
g - Glyphish to query list about
protected ListIterator<Glyphish> getListIterator()
public int length()
public void paint(Graphics2D g2d)
paint in class Glyphishpublic void transform(AffineTransform a)
transform in class Glyphish
|
Graphics2D Actor API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||