org.pbjar.jxlayer.plaf.misc
Class MouseDrawingUI.DrawingState
java.lang.Object
org.pbjar.jxlayer.plaf.misc.MouseDrawingUI.DrawingState
- Enclosing class:
- MouseDrawingUI
protected static class MouseDrawingUI.DrawingState
- extends Object
Holds state information.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lineColor
public Color lineColor
coloredLine
public MouseDrawingUI.ColoredLine coloredLine
lineList
public List<MouseDrawingUI.ColoredLine> lineList
preferred
public Dimension preferred
innerArea
public Rectangle innerArea
newInnerArea
public Rectangle newInnerArea
transform
public AffineTransform transform
inverseTransform
public AffineTransform inverseTransform
MouseDrawingUI.DrawingState
public MouseDrawingUI.DrawingState(org.jdesktop.jxlayer.JXLayer<JComponent> layer)
addPoint
public void addPoint(Point2D point)
clear
public void clear()
getLineColor
public Color getLineColor()
setLineColor
public void setLineColor(Color color)
terminateLine
public void terminateLine()
updateSize
public void updateSize()
- Not implemented.
This is for future use and meant to ensure that the drawing scales
with the scaling of the underlying component. But it interferes a bit
with the current testing on other types of components.