Save This Page
Home » openjdk-7 » net.claribole.zvtm » glyphs » [javadoc | source]
net.claribole.zvtm.glyphs
class: IcTriangle [javadoc | source]
java.lang.Object
   net.claribole.zvtm.glyphs.GlyphIcon
      net.claribole.zvtm.glyphs.IcTriangle

All Implemented Interfaces:
    Icon

Field Summary
 VTriangle glyph     
 int trS     
 Polygon p     
 int halfEdge     
 int thirdHeight     
 int[] xcoords     
 int[] ycoords     
 float orient     
Fields inherited from net.claribole.zvtm.glyphs.GlyphIcon:
width,  height,  cWidth,  cHeight
Constructor:
 IcTriangle(VTriangle g,
    int w,
    int h) 
Method from net.claribole.zvtm.glyphs.IcTriangle Summary:
computePolygon,   getGlyph,   getIconHeight,   getIconWidth,   paintIcon,   setGlyph
Methods from net.claribole.zvtm.glyphs.GlyphIcon:
getGlyph,   getGlyphIcon,   setGlyph,   setIconWidthHeight
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.claribole.zvtm.glyphs.IcTriangle Detail:
 protected  void computePolygon() 
 public Glyph getGlyph() 
    get the glyph that the icon is representing
 public int getIconHeight() 
    get the icon's width (Icon interface)
 public int getIconWidth() 
    get the icon's height (Icon interface)
 public  void paintIcon(Component c,
    Graphics g,
    int x,
    int y) 
    Icon interface
 public  void setGlyph(Glyph g) 
    set the glyph that the icon should be representing