org.pbjar.jxlayer.plaf.misc
Class MouseDrawingUI.DrawingState

java.lang.Object
  extended by org.pbjar.jxlayer.plaf.misc.MouseDrawingUI.DrawingState
Enclosing class:
MouseDrawingUI

protected static class MouseDrawingUI.DrawingState
extends Object

Holds state information.


Field Summary
 MouseDrawingUI.ColoredLine coloredLine
           
 Rectangle innerArea
           
 AffineTransform inverseTransform
           
 Color lineColor
           
 List<MouseDrawingUI.ColoredLine> lineList
           
 Rectangle newInnerArea
           
 Dimension preferred
           
 AffineTransform transform
           
 
Constructor Summary
MouseDrawingUI.DrawingState(org.jdesktop.jxlayer.JXLayer<JComponent> layer)
           
 
Method Summary
 void addPoint(Point2D point)
           
 void clear()
           
 Color getLineColor()
           
 void setLineColor(Color color)
           
 void terminateLine()
           
 void updateSize()
          Not implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MouseDrawingUI.DrawingState

public MouseDrawingUI.DrawingState(org.jdesktop.jxlayer.JXLayer<JComponent> layer)
Method Detail

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.