Package kiyut.sketsa.windows.canvas
Class DefaultNavigator.NavigatorOverlay
- java.lang.Object
-
- kiyut.sketsa.windows.canvas.DefaultNavigator.NavigatorOverlay
-
- All Implemented Interfaces:
org.apache.batik.swing.gvt.Overlay
- Enclosing class:
- DefaultNavigator
protected class DefaultNavigator.NavigatorOverlay extends Object implements org.apache.batik.swing.gvt.Overlay
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandragableprotected RectanglemaxRectprotected AffineTransformpaintingTransformprotected Shapeshape
-
Constructor Summary
Constructors Modifier Constructor Description protectedNavigatorOverlay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(int x, int y)Rectangle2DgetBounds()booleanisDragable()AffineTransformmoveBy(double tx, double ty)voidpaint(Graphics g)voidupdateAOI()
-
-
-
Field Detail
-
shape
protected Shape shape
-
paintingTransform
protected AffineTransform paintingTransform
-
dragable
protected boolean dragable
-
maxRect
protected Rectangle maxRect
-
-
Method Detail
-
paint
public void paint(Graphics g)
- Specified by:
paintin interfaceorg.apache.batik.swing.gvt.Overlay
-
contains
public boolean contains(int x, int y)
-
getBounds
public Rectangle2D getBounds()
-
moveBy
public AffineTransform moveBy(double tx, double ty)
-
updateAOI
public void updateAOI()
-
isDragable
public boolean isDragable()
-
-