public abstract class CompositeGlyph extends RectangleGlyph
ATTR_RECTTYPE, bounds, CIRCLE, FCIRCLE, FRECTANGLE, FROUNDRECT, RECTANGLE, ROUNDRECT, TYPE_CIRCLE, TYPE_RECT, TYPE_RRECTATTR_BGCOLOR, ATTR_CHILDREN, ATTR_CLASS, ATTR_COLOR, ATTR_FILL, ATTR_HEIGHT, ATTR_IMAGE, ATTR_LINEWIDTH, ATTR_PARENT, ATTR_PTS, ATTR_STRETCHY, ATTR_TEXT, ATTR_TYPE, ATTR_WIDTH, baseline, H_SEL_WIDTH, highlightColor, idToGlyph, MIN_DISTANCE_TO_STRETCH, PT_CENTER, PT_H_LEFT, PT_H_MIDDLE, PT_H_RIGHT, PT_LL, PT_LM, PT_LR, PT_ML, PT_MM, PT_MR, PT_P1, PT_P2, PT_PREFIX, PT_UL, PT_UM, PT_UR, PT_V_LOWER, PT_V_MIDDLE, PT_V_UPPER, RECTPOINTNAMES, RECTPOINTS, SEL_WIDTH, TAG_GLYPH, underline, url| Modifier | Constructor and Description |
|---|---|
protected |
CompositeGlyph(java.lang.String type)
_more_
|
protected |
CompositeGlyph(java.lang.String type,
int x,
int y)
_more_
|
protected |
CompositeGlyph(java.lang.String type,
int x,
int y,
java.util.List newChildren)
_more_
|
protected |
CompositeGlyph(java.lang.String type,
java.util.List newChildren)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Glyph g)
_more_
|
void |
addChild(Glyph g,
boolean calculateBounds)
_more_
|
void |
calculateBounds()
_more_
|
void |
childChanged(Glyph g)
_more_
|
protected java.lang.Object |
clone()
_more_
|
double |
distance(int x,
int y)
_more_
|
java.lang.String |
getAttrs()
_more_
|
boolean |
getBoundsFromChildren()
_more_
|
java.util.List |
getChildren()
_more_
|
java.lang.String |
getStretchPoint(int x,
int y)
_more_
|
void |
moveTo(int x,
int y)
_more_
|
void |
paint(java.awt.Graphics g,
DisplayCanvas c)
_more_
|
protected void |
paintChildren(java.awt.Graphics g,
DisplayCanvas c)
_more_
|
void |
removeChild(Glyph g)
_more_
|
void |
setAttr(java.lang.String name,
java.lang.String value)
_more_
|
void |
setBackground(java.awt.Color c)
_more_
|
void |
setFilled(boolean c)
_more_
|
void |
setForeground(java.awt.Color c)
_more_
|
void |
setLineWidth(int c)
_more_
|
java.lang.String |
stretchTo(int x,
int y,
java.lang.String pt,
boolean correct)
_more_
|
void |
unGroup()
_more_
|
getBottom, getBounds, getEqualSides, getLeft, getPoint, getPositionAttr, getSymetricReshape, getTop, moveBy, setPoints, setSize, setTypeboundsChanged, canStretch, distance, doRemove, flipY, getBackground, getBackground, getBeingCreated, getCreateCommand, getCursor, getFilled, getForeground, getId, getLineWidth, getMoveCommand, getPersistent, getPointOnRect, getPointOnRect, getRectPointName, getRepaintBounds, getStretchPoint, getStretchy, getXml, initDone, makeAttr, notifyChange, paintHighlight, paintSelection, paintSelectionPoints, pickable, processAttrs, setBeingCreated, setId, setParent, setStretchy, stretchTo, stretchTo, toRect, transformOutput, transformOutput, transformOutputX, transformOutputYprotected CompositeGlyph(java.lang.String type,
java.util.List newChildren)
type - newChildren - protected CompositeGlyph(java.lang.String type,
int x,
int y)
type - x - y - protected CompositeGlyph(java.lang.String type)
type - protected CompositeGlyph(java.lang.String type,
int x,
int y,
java.util.List newChildren)
type - x - y - newChildren - public void childChanged(Glyph g)
g - public void removeChild(Glyph g)
g - public java.util.List getChildren()
public void unGroup()
public double distance(int x,
int y)
distance in class RectangleGlyphx - y - public void addChild(Glyph g)
g - public void addChild(Glyph g, boolean calculateBounds)
g - calculateBounds - public boolean getBoundsFromChildren()
public void calculateBounds()
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class RectangleGlyphjava.lang.CloneNotSupportedExceptionpublic void paint(java.awt.Graphics g,
DisplayCanvas c)
paint in class RectangleGlyphg - c - protected void paintChildren(java.awt.Graphics g,
DisplayCanvas c)
g - c - public void setForeground(java.awt.Color c)
setForeground in class Glyphc - public void setBackground(java.awt.Color c)
setBackground in class Glyphc - public void setLineWidth(int c)
setLineWidth in class Glyphc - public void setFilled(boolean c)
public java.lang.String getStretchPoint(int x,
int y)
getStretchPoint in class RectangleGlyphx - y - public java.lang.String stretchTo(int x,
int y,
java.lang.String pt,
boolean correct)
stretchTo in class RectangleGlyphx - y - pt - correct - public void moveTo(int x,
int y)
moveTo in class RectangleGlyphx - y - public java.lang.String getAttrs()
public void setAttr(java.lang.String name,
java.lang.String value)
setAttr in class RectangleGlyphname - value -