public class BufferedGlyphList extends GlyphList
Modifier and Type | Field and Description |
---|---|
static boolean |
buffered |
boolean |
displayable |
static int |
EDGE_THRESHOLD |
static int |
LARGE |
static int |
NODE_THRESHOLD |
int |
paintCount |
static boolean |
paintDebug |
static int |
THRESHOLD |
protected int |
version |
Constructor and Description |
---|
BufferedGlyphList() |
BufferedGlyphList(BufferedGlyphList copy) |
Modifier and Type | Method and Description |
---|---|
void |
add(Glyphish g)
Add something glyphish to this list.
|
void |
add(Glyphish g,
java.awt.geom.AffineTransform a)
Add something glyphish to this list transforming it
beforehand using given affine transformation.
|
void |
add(int index,
Glyphish g)
Add something glyphish to this list.
|
void |
addChangeListener(javax.swing.event.ChangeListener cl)
Adds a listener to those registered for change events.
|
void |
clear() |
void |
fireChange()
Is used to notify all those listeners registered that the glyphlist
has changed.
|
void |
fireChange(javax.swing.event.ChangeEvent event)
Is used to notify all those listeners registered that the glyphlist
has changed.
|
java.awt.image.BufferedImage |
getBufferedImage() |
java.awt.image.BufferedImage |
getBufferedImage(double scale) |
boolean |
isLarge() |
void |
paint(java.awt.Graphics2D g2d) |
void |
remove(Glyphish g)
Remove all occurences of given glyphish thing from this list.
|
void |
removeChangeListener(javax.swing.event.ChangeListener cl)
Removes a listener to those registered for change events.
|
void |
setDisplayable() |
void |
setDisplayable(boolean val) |
void |
setDisplayable(int nodes,
int edges) |
contains, dump, get, getBounds, getGlyphishInArray, getGlyphishInCollection, getGlyphThing, getHeight, getListIterator, getWidth, inside, intersects, length, setHeight, setWidth, toString, transform
keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, rotate, rotate, scale, setKeyAction, setMouseAction, shear, translate, unsetMouseAction
_getAttribute, _setAttribute, getAttribute, getAttributeAsBoolean, getAttributeAsByte, getAttributeAsChar, getAttributeAsClosure, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsInt, getAttributeAsShort, getAttributeAsString, getKeys, getStaticAttribute, getStaticKeys, isAttribute, isStaticAttribute, removeAllAttributes, removeAllStaticAttributes, removeAttribute, removeStaticAttribute, setAttribute, setStaticAttribute, showAttributes, showAttributes
public static final boolean buffered
public int paintCount
public static boolean paintDebug
public static int NODE_THRESHOLD
public static int EDGE_THRESHOLD
public static int THRESHOLD
public static int LARGE
public boolean displayable
protected int version
public BufferedGlyphList()
public BufferedGlyphList(BufferedGlyphList copy)
public void setDisplayable(int nodes, int edges)
public void setDisplayable()
public void setDisplayable(boolean val)
public boolean isLarge()
public void add(Glyphish g)
null
.public void add(int index, Glyphish g)
null
.public void add(Glyphish g, java.awt.geom.AffineTransform a)
null
.public void remove(Glyphish g)
null
.public java.awt.image.BufferedImage getBufferedImage()
public java.awt.image.BufferedImage getBufferedImage(double scale)
public void addChangeListener(javax.swing.event.ChangeListener cl)
cl
- the new listenerremoveChangeListener(javax.swing.event.ChangeListener)
public void removeChangeListener(javax.swing.event.ChangeListener cl)
cl
- the new listeneraddChangeListener(javax.swing.event.ChangeListener)
public void fireChange(javax.swing.event.ChangeEvent event)
event,
- the change event to fire.public void fireChange()