org.rosuda.ibase.toolkit
Class PPrimHam

java.lang.Object
  extended by org.rosuda.ibase.toolkit.PPrimBase
      extended by org.rosuda.ibase.toolkit.PPrimPolygon
          extended by org.rosuda.ibase.toolkit.PPrimHam
All Implemented Interfaces:
PlotPrimitive

public class PPrimHam
extends PPrimPolygon


Field Summary
 boolean alwaysAlpha
           
 double fudge
           
 int leftVar
           
 int tmp
           
 int total
           
 
Fields inherited from class org.rosuda.ibase.toolkit.PPrimPolygon
closed, COL_INVISIBLELINES, drawBorder, drawCorners, fill, invisibleLines, lineWidth, noDotsAt, pg, selectByCorners, showGapDots, showInvisibleLines, useSelAlpha
 
Fields inherited from class org.rosuda.ibase.toolkit.PPrimBase
borderColor, borderColorSel, col, COL_OUTLINE, dragging, fillColor, fillColorDrag, fillColorSel, performAlphaBlending, queryable, ref, visible
 
Constructor Summary
PPrimHam()
           
 
Method Summary
 void paint(PoGraSS g, int orientation, SMarker m)
          paint the primitive
 void paintSelected(PoGraSS g, int orientation, SMarker m)
          paint the selection
 java.lang.String toString()
           
 void updateAnchors(int ax1, int ay1, int ax2, int ay2, int totHeight)
           
 
Methods inherited from class org.rosuda.ibase.toolkit.PPrimPolygon
contains, getNodeSize, intersects, setGapDots, setNodeSize, setPolygon
 
Methods inherited from class org.rosuda.ibase.toolkit.PPrimBase
cases, getCaseIDs, getColor, getMarkedProportion, getMarkedProportion, getPrimaryCase, getPropSize, getRelativeMarkedProportion, hilitcontains, isDragging, isPerformingAlphaBlending, isQueryable, isVisible, move, moveX, moveY, representsCase, setCaseIDs, setCaseIDs, setDragging, setMark, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

alwaysAlpha

public boolean alwaysAlpha

fudge

public double fudge

total

public int total

tmp

public int tmp

leftVar

public int leftVar
Constructor Detail

PPrimHam

public PPrimHam()
Method Detail

updateAnchors

public void updateAnchors(int ax1,
                          int ay1,
                          int ax2,
                          int ay2,
                          int totHeight)

paint

public void paint(PoGraSS g,
                  int orientation,
                  SMarker m)
paint the primitive

Specified by:
paint in interface PlotPrimitive
Overrides:
paint in class PPrimPolygon

paintSelected

public void paintSelected(PoGraSS g,
                          int orientation,
                          SMarker m)
Description copied from interface: PlotPrimitive
paint the selection

Specified by:
paintSelected in interface PlotPrimitive
Overrides:
paintSelected in class PPrimPolygon

toString

public java.lang.String toString()
Overrides:
toString in class PPrimPolygon