public class DruDrawingCanvas extends DruPanel implements GraphicsView
| Modifier and Type | Field and Description |
|---|---|
(package private) DrawingCanvas |
drawingCanvas |
(package private) static long |
serialVersionUID |
bgColor, dPanel, fgColor, id, info, infoReceiver, SCROLLABLE, tip, title, tooltipTarget| Constructor and Description |
|---|
DruDrawingCanvas(int w,
int h) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRangeWatcher(RangeWatcher rw) |
void |
attachGraphicsController(java.lang.Object obj) |
double[] |
get2Center() |
double[] |
get3Center() |
double[] |
getFourMatrix() |
double[][] |
getProjectionMatrix() |
boolean |
isAntialiasing() |
void |
reframe() |
void |
setAntialias(boolean b) |
void |
setAxisColor(java.awt.Color c) |
void |
setBackgroundColor(java.awt.Color c) |
void |
setFixedAspectRatio(double ar) |
void |
setFourMatrix(double[] fm) |
void |
setGridColor(java.awt.Color c) |
void |
setMode(int imode) |
void |
setMouseMode(java.lang.String s) |
void |
setOnGridAxes() |
void |
setRollCenter(double x,
double y,
double z) |
void |
setShowGrid(boolean b) |
void |
setThreeD() |
void |
setXRange(double low,
double high) |
void |
turn(double d) |
void |
viewChanged() |
addBorder, addCardPanel, addDComponent, addDComponent, addEtchedBorder, addMenu, addPanel, addPanel, addRaw, addSingleDComponent, addSunkenBorder, addTitledBorder, exportInfo, getBg, getGUIPeer, getID, getInfo, getInfoReceiver, getLocation, getPreferredSize, getTip, getTitle, getXYLocationOnScreen, mouseButtonPressed, postApply, removeAll, removeDComponent, removePanel, repaint, revalidate, seForegroundColor, setBg, setBorderLayout, setColors, setColors, setEmptyBorder, setEtchedBorder, setEtchedUpBorder, setFallbackBackgroundColor, setFallbackForegroundColor, setFg, setFlowCenter, setFlowLayout, setFlowLeft, setFlowRight, setGridLayout, setID, setInfo, setInfoReceiver, setPreferredSize, setPreferredSize, setSingle, setSunkenBorder, setTip, setTitle, setTitleInfo, setTooltipTarget, toString, validatestatic final long serialVersionUID
DrawingCanvas drawingCanvas
public void setBackgroundColor(java.awt.Color c)
setBackgroundColor in class DruPanelpublic void setGridColor(java.awt.Color c)
public void setAxisColor(java.awt.Color c)
public void setMode(int imode)
public void viewChanged()
viewChanged in interface Presenterpublic void setMouseMode(java.lang.String s)
public void setOnGridAxes()
public void setThreeD()
public boolean isAntialiasing()
public void setAntialias(boolean b)
public void reframe()
public void attachGraphicsController(java.lang.Object obj)
attachGraphicsController in interface GraphicsViewpublic void setXRange(double low,
double high)
setXRange in interface GraphicsViewpublic void setFixedAspectRatio(double ar)
setFixedAspectRatio in interface GraphicsViewpublic void addRangeWatcher(RangeWatcher rw)
addRangeWatcher in interface GraphicsViewpublic double[][] getProjectionMatrix()
public void setRollCenter(double x,
double y,
double z)
public double[] get3Center()
public double[] get2Center()
public void turn(double d)
public void setShowGrid(boolean b)
public void setFourMatrix(double[] fm)
public double[] getFourMatrix()
Copyright © 2013. All Rights Reserved.