Class CompositeGlyph

All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
GroupGlyph

public abstract class CompositeGlyph extends RectangleGlyph
Class CompositeGlyph
Author:
IDV development team
  • Constructor Details

    • CompositeGlyph

      protected CompositeGlyph(String type, List newChildren)
      _more_
      Parameters:
      type -
      newChildren -
    • CompositeGlyph

      protected CompositeGlyph(String type, int x, int y)
      _more_
      Parameters:
      type -
      x -
      y -
    • CompositeGlyph

      protected CompositeGlyph(String type)
      _more_
      Parameters:
      type -
    • CompositeGlyph

      protected CompositeGlyph(String type, int x, int y, List newChildren)
      _more_
      Parameters:
      type -
      x -
      y -
      newChildren -
  • Method Details

    • childChanged

      public void childChanged(Glyph g)
      _more_
      Parameters:
      g -
    • removeChild

      public void removeChild(Glyph g)
      _more_
      Parameters:
      g -
    • getChildren

      public List getChildren()
      _more_
      Returns:
      _more_
    • unGroup

      public void unGroup()
      _more_
    • distance

      public double distance(int x, int y)
      _more_
      Overrides:
      distance in class RectangleGlyph
      Parameters:
      x -
      y -
      Returns:
      _more_
    • addChild

      public void addChild(Glyph g)
      _more_
      Parameters:
      g -
    • addChild

      public void addChild(Glyph g, boolean calculateBounds)
      _more_
      Parameters:
      g -
      calculateBounds -
    • getBoundsFromChildren

      public boolean getBoundsFromChildren()
      _more_
      Returns:
      _more_
    • calculateBounds

      public void calculateBounds()
      _more_
    • clone

      protected Object clone() throws CloneNotSupportedException
      _more_
      Overrides:
      clone in class RectangleGlyph
      Returns:
      _more_
      Throws:
      CloneNotSupportedException
    • paint

      public void paint(Graphics g, DisplayCanvas c)
      _more_
      Overrides:
      paint in class RectangleGlyph
      Parameters:
      g -
      c -
    • paintChildren

      protected void paintChildren(Graphics g, DisplayCanvas c)
      _more_
      Parameters:
      g -
      c -
    • setForeground

      public void setForeground(Color c)
      _more_
      Overrides:
      setForeground in class Glyph
      Parameters:
      c -
    • setBackground

      public void setBackground(Color c)
      _more_
      Overrides:
      setBackground in class Glyph
      Parameters:
      c -
    • setLineWidth

      public void setLineWidth(int c)
      _more_
      Overrides:
      setLineWidth in class Glyph
      Parameters:
      c -
    • setFilled

      public void setFilled(boolean c)
      _more_
      Overrides:
      setFilled in class Glyph
      Parameters:
      c -
    • getStretchPoint

      public String getStretchPoint(int x, int y)
      _more_
      Overrides:
      getStretchPoint in class RectangleGlyph
      Parameters:
      x -
      y -
      Returns:
      _more_
    • stretchTo

      public String stretchTo(int x, int y, String pt, boolean correct)
      _more_
      Overrides:
      stretchTo in class RectangleGlyph
      Parameters:
      x -
      y -
      pt -
      correct -
      Returns:
      _more_
    • moveTo

      public void moveTo(int x, int y)
      _more_
      Overrides:
      moveTo in class RectangleGlyph
      Parameters:
      x -
      y -
    • getAttrs

      public String getAttrs()
      _more_
      Overrides:
      getAttrs in class Glyph
      Returns:
      _more_
    • setAttr

      public void setAttr(String name, String value)
      _more_
      Overrides:
      setAttr in class RectangleGlyph
      Parameters:
      name -
      value -