org.rosuda.ibase.toolkit
Class PPrimMosaic

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

public class PPrimMosaic
extends PPrimRectangle


Field Summary
 java.awt.Color binbgColor
           
 java.awt.Color borderColorCensored
           
 java.awt.Color borderColorEmpty
           
 java.awt.Color borderColorSelCensored
           
 java.awt.Color borderColorSelUncensored
           
 java.awt.Color fillColorCensored
           
 java.awt.Color fillColorEmpty
           
 java.lang.String info
           
static int TYPE_EXPECTED
           
static int TYPE_FLUCTUATION
           
static int TYPE_MULTIPLEBARCHARTS
           
static int TYPE_OBSERVED
           
static int TYPE_SAMEBINSIZE
           
 
Fields inherited from class org.rosuda.ibase.toolkit.PPrimRectangle
allowColorBrushing, drawBorder, filled, orientation, r
 
Fields inherited from class org.rosuda.ibase.toolkit.PPrimBase
borderColor, borderColorSel, col, COL_OUTLINE, dragging, fillColor, fillColorDrag, fillColorSel, performAlphaBlending, queryable, ref, visible
 
Constructor Summary
PPrimMosaic()
           
 
Method Summary
 void changeDimension(int newWidth, int newHeight)
           
 boolean contains(int x, int y)
          checks whether the PlotPrimitive contains (or in case of a point primitive equals to) the given point.
 char getDir()
           
 double getObs()
           
 boolean isCensored()
           
 boolean isEmpty()
           
 void paint(PoGraSS g, int orientation, SMarker m)
          paint the primitive
 void paintSelected(PoGraSS g, int orientation, SMarker m)
          paint the selection
 void setCensored(boolean censored)
           
 void setDir(char dir)
           
 void setExp(double exp)
           
 void setObs(double obs)
           
 void setP(double p)
           
 void setScale(double scale)
           
 void setType(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class org.rosuda.ibase.toolkit.PPrimRectangle
brushRect, drawRect, drawRect, getMINHEIGHT, getMINWIDTH, getOrientation, intersects, isBrushed, move, moveX, moveY, setBounds, setBounds, setMINHEIGHT, setMINWIDTH
 
Methods inherited from class org.rosuda.ibase.toolkit.PPrimBase
cases, getCaseIDs, getColor, getMarkedProportion, getMarkedProportion, getPrimaryCase, getPropSize, getRelativeMarkedProportion, hilitcontains, isDragging, isPerformingAlphaBlending, isQueryable, isVisible, 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

fillColorEmpty

public java.awt.Color fillColorEmpty

borderColorEmpty

public java.awt.Color borderColorEmpty

binbgColor

public java.awt.Color binbgColor

borderColorSelCensored

public java.awt.Color borderColorSelCensored

borderColorSelUncensored

public java.awt.Color borderColorSelUncensored

borderColorCensored

public java.awt.Color borderColorCensored

fillColorCensored

public java.awt.Color fillColorCensored

info

public java.lang.String info

TYPE_OBSERVED

public static final int TYPE_OBSERVED
See Also:
Constant Field Values

TYPE_EXPECTED

public static final int TYPE_EXPECTED
See Also:
Constant Field Values

TYPE_SAMEBINSIZE

public static final int TYPE_SAMEBINSIZE
See Also:
Constant Field Values

TYPE_MULTIPLEBARCHARTS

public static final int TYPE_MULTIPLEBARCHARTS
See Also:
Constant Field Values

TYPE_FLUCTUATION

public static final int TYPE_FLUCTUATION
See Also:
Constant Field Values
Constructor Detail

PPrimMosaic

public PPrimMosaic()
Method Detail

toString

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

paint

public void paint(PoGraSS g,
                  int orientation,
                  SMarker m)
Description copied from class: PPrimRectangle
paint the primitive

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

setObs

public void setObs(double obs)

getObs

public double getObs()

getDir

public char getDir()

setDir

public void setDir(char dir)

isCensored

public boolean isCensored()

setCensored

public void setCensored(boolean censored)

setType

public void setType(int type)

isEmpty

public boolean isEmpty()

changeDimension

public void changeDimension(int newWidth,
                            int newHeight)

setP

public void setP(double p)

setExp

public void setExp(double exp)

setScale

public void setScale(double scale)

contains

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

Specified by:
contains in interface PlotPrimitive
Overrides:
contains in class PPrimRectangle

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 PPrimRectangle