|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.ui.drawing.Glyph
ucar.unidata.ui.drawing.RectangleGlyph
ucar.unidata.ui.drawing.CompositeGlyph
public abstract class CompositeGlyph
Class CompositeGlyph
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.ui.drawing.RectangleGlyph |
|---|
ATTR_RECTTYPE, bounds, CIRCLE, FCIRCLE, FRECTANGLE, FROUNDRECT, RECTANGLE, ROUNDRECT, TYPE_CIRCLE, TYPE_RECT, TYPE_RRECT |
| Fields inherited from class ucar.unidata.ui.drawing.Glyph |
|---|
ATTR_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 |
| Constructor Summary | |
|---|---|
protected |
CompositeGlyph(String type)
_more_ |
protected |
CompositeGlyph(String type,
int x,
int y)
_more_ |
protected |
CompositeGlyph(String type,
int x,
int y,
List newChildren)
_more_ |
protected |
CompositeGlyph(String type,
List newChildren)
_more_ |
| Method Summary | |
|---|---|
void |
addChild(Glyph g)
_more_ |
void |
addChild(Glyph g,
boolean calculateBounds)
_more_ |
void |
calculateBounds()
_more_ |
void |
childChanged(Glyph g)
_more_ |
protected Object |
clone()
_more_ |
double |
distance(int x,
int y)
_more_ |
String |
getAttrs()
_more_ |
boolean |
getBoundsFromChildren()
_more_ |
List |
getChildren()
_more_ |
String |
getStretchPoint(int x,
int y)
_more_ |
void |
moveTo(int x,
int y)
_more_ |
void |
paint(Graphics g,
DisplayCanvas c)
_more_ |
protected void |
paintChildren(Graphics g,
DisplayCanvas c)
_more_ |
void |
removeChild(Glyph g)
_more_ |
void |
setAttr(String name,
String value)
_more_ |
void |
setBackground(Color c)
_more_ |
void |
setFilled(boolean c)
_more_ |
void |
setForeground(Color c)
_more_ |
void |
setLineWidth(int c)
_more_ |
String |
stretchTo(int x,
int y,
String pt,
boolean correct)
_more_ |
void |
unGroup()
_more_ |
| Methods inherited from class ucar.unidata.ui.drawing.RectangleGlyph |
|---|
getBottom, getBounds, getEqualSides, getLeft, getPoint, getPositionAttr, getSymetricReshape, getTop, moveBy, setPoints, setSize, setType |
| Methods inherited from class ucar.unidata.ui.drawing.Glyph |
|---|
boundsChanged, 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, transformOutputY |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CompositeGlyph(String type,
List newChildren)
type - newChildren -
protected CompositeGlyph(String type,
int x,
int y)
type - x - y - protected CompositeGlyph(String type)
type -
protected CompositeGlyph(String type,
int x,
int y,
List newChildren)
type - x - y - newChildren - | Method Detail |
|---|
public void childChanged(Glyph g)
g - public void removeChild(Glyph g)
g - public 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 Object clone()
throws CloneNotSupportedException
clone in class RectangleGlyphCloneNotSupportedException
public void paint(Graphics g,
DisplayCanvas c)
paint in class RectangleGlyphg - c -
protected void paintChildren(Graphics g,
DisplayCanvas c)
g - c - public void setForeground(Color c)
setForeground in class Glyphc - public void setBackground(Color c)
setBackground in class Glyphc - public void setLineWidth(int c)
setLineWidth in class Glyphc - public void setFilled(boolean c)
setFilled in class Glyphc -
public String getStretchPoint(int x,
int y)
getStretchPoint in class RectangleGlyphx - y -
public String stretchTo(int x,
int y,
String pt,
boolean correct)
stretchTo in class RectangleGlyphx - y - pt - correct -
public void moveTo(int x,
int y)
moveTo in class RectangleGlyphx - y - public String getAttrs()
getAttrs in class Glyph
public void setAttr(String name,
String value)
setAttr in class RectangleGlyphname - value -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||