Class MultiShapeGlyph2D

java.lang.Object
  |
  +--Glyph
        |
        +--Glyph2D
              |
              +--MultiShapeGlyph2D

public class MultiShapeGlyph2D
extends Glyph2D

MultiShapeGlyph2D implements a two-dimensional glyph with four properties: width, height, color and shape.


Method Summary
 void draw(int x, int y, java.awt.Graphics g)
          Draws the glyph on the given Graphics surface in a given location.
 boolean getPropertyUsed(int property)
           
 int getShape()
           
 void setBaseColor(java.awt.Color c)
           
 void setBaseColor(java.awt.Color c, boolean isMax)
           
 void setPropertyUsed(int property, boolean mapped)
           
 void setSelected(boolean isSel)
           
 void setShape(int shape)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBaseColor

public void setBaseColor(java.awt.Color c)

setBaseColor

public void setBaseColor(java.awt.Color c,
                         boolean isMax)

setShape

public void setShape(int shape)

getShape

public int getShape()

draw

public void draw(int x,
                 int y,
                 java.awt.Graphics g)
Description copied from class: Glyph2D
Draws the glyph on the given Graphics surface in a given location.
Overrides:
draw in class Glyph2D

setSelected

public void setSelected(boolean isSel)

setPropertyUsed

public void setPropertyUsed(int property,
                            boolean mapped)

getPropertyUsed

public boolean getPropertyUsed(int property)