org.rosuda.ibase.toolkit
Class PPrimBox

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

public class PPrimBox
extends PPrimBase

Author:
Tobias Wichtrey

Field Summary
 boolean containsInSelection
          whether contains returns true if the queried point lies in hiliting box
 int highEdge
           
 double[] lastR
           
 int lastTop
           
 int lh
           
 int lh15
           
 double lh15Value
           
 double lh3
           
 double lhValue
           
 int lowEdge
           
 float LWMEDIAN
           
 float LWMEDIANSEL
           
 float LWRECT
           
 float LWRECTSEL
           
 float LWWHISKER
           
 float LWWHISKEREND
           
 float LWWHISKERENDSEL
           
 float LWWHISKERSEL
           
 int med
           
 double medValue
           
 Outlier queriedOutlier
           
 boolean queriedSelection
           
 int RADOUTL
           
 int shighEdge
           
 double[] slastR
           
 int slastTop
           
 int slh
           
 int slh15
           
 double slh3
           
 int slowEdge
           
 double smaxValue
           
 int smed
           
 double sminValue
           
 java.awt.Rectangle sr
           
 int suh
           
 int suh15
           
 double suh3
           
 int[] svalPos
           
 int sw
           
 int sx
           
 int uh
           
 int uh15
           
 double uh15Value
           
 double uh3
           
 double uhValue
           
 int[] valPos
           
 int w
           
 int x
           
 
Fields inherited from class org.rosuda.ibase.toolkit.PPrimBase
borderColor, borderColorSel, col, COL_OUTLINE, dragging, fillColor, fillColorDrag, fillColorSel, performAlphaBlending, queryable, ref, visible
 
Constructor Summary
PPrimBox()
          Creates a new instance of PPrimBox
 
Method Summary
 boolean contains(int x, int y)
          checks whether the PlotPrimitive contains (or in case of a point primitive equals to) the given point.
 boolean hilitcontains(int x, int y)
           
 boolean intersects(java.awt.Rectangle rt)
          checks whether the PlotPrimitive intersects (or is contained) in the given rectangle.
 void move(int x, int y)
           
 void moveX(int x)
           
 void moveY(int y)
           
 void paint(PoGraSS g, int orientation, SMarker m)
          paint the primitive (w/o selection)
 void paintSelected(PoGraSS g, int orientation, SMarker m)
          paint the selection
 
Methods inherited from class org.rosuda.ibase.toolkit.PPrimBase
cases, getCaseIDs, getColor, getMarkedProportion, getMarkedProportion, getPrimaryCase, getPropSize, getRelativeMarkedProportion, isDragging, isPerformingAlphaBlending, isQueryable, isVisible, representsCase, setCaseIDs, setCaseIDs, setDragging, setMark, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RADOUTL

public int RADOUTL

LWRECT

public float LWRECT

LWMEDIAN

public float LWMEDIAN

LWWHISKER

public float LWWHISKER

LWWHISKEREND

public float LWWHISKEREND

LWRECTSEL

public float LWRECTSEL

LWMEDIANSEL

public float LWMEDIANSEL

LWWHISKERSEL

public float LWWHISKERSEL

LWWHISKERENDSEL

public float LWWHISKERENDSEL

med

public int med

uh

public int uh

lh

public int lh

uh15

public int uh15

lh15

public int lh15

medValue

public double medValue

uhValue

public double uhValue

lhValue

public double lhValue

uh15Value

public double uh15Value

lh15Value

public double lh15Value

uh3

public double uh3

lh3

public double lh3

x

public int x

w

public int w

lowEdge

public int lowEdge

lastTop

public int lastTop

highEdge

public int highEdge

lastR

public double[] lastR

valPos

public int[] valPos

sr

public java.awt.Rectangle sr

smed

public int smed

suh

public int suh

slh

public int slh

suh15

public int suh15

slh15

public int slh15

suh3

public double suh3

slh3

public double slh3

sx

public int sx

queriedOutlier

public Outlier queriedOutlier

sw

public int sw

queriedSelection

public boolean queriedSelection

sminValue

public double sminValue

smaxValue

public double smaxValue

slowEdge

public int slowEdge

slastTop

public int slastTop

shighEdge

public int shighEdge

slastR

public double[] slastR

svalPos

public int[] svalPos

containsInSelection

public boolean containsInSelection
whether contains returns true if the queried point lies in hiliting box

Constructor Detail

PPrimBox

public PPrimBox()
Creates a new instance of PPrimBox

Method Detail

intersects

public boolean intersects(java.awt.Rectangle rt)
Description copied from interface: PlotPrimitive
checks whether the PlotPrimitive intersects (or is contained) in the given rectangle.


paint

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


hilitcontains

public boolean hilitcontains(int x,
                             int y)
Specified by:
hilitcontains in interface PlotPrimitive
Overrides:
hilitcontains in class PPrimBase

paintSelected

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


contains

public boolean contains(int x,
                        int y)
Description copied from interface: PlotPrimitive
checks whether the PlotPrimitive contains (or in case of a point primitive equals to) the given point.


move

public void move(int x,
                 int y)
Overrides:
move in class PPrimBase

moveX

public void moveX(int x)
Overrides:
moveX in class PPrimBase

moveY

public void moveY(int y)
Overrides:
moveY in class PPrimBase