|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.glib.handlers.Handler<java.awt.geom.Rectangle2D>
net.sf.latexdraw.glib.handlers.MovePtHandler
public class MovePtHandler
Defines a handler that moves a point of a shape.
This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
08/28/11
Field Summary | |
---|---|
protected int |
indexPt
The index of the point in its shape. |
Fields inherited from class net.sf.latexdraw.glib.handlers.Handler |
---|
colour, opacity, point, shape, size |
Fields inherited from interface net.sf.latexdraw.glib.handlers.IHandler |
---|
DEFAULT_SIZE |
Constructor Summary | |
---|---|
MovePtHandler(int indexPt)
The constructor by default. |
Method Summary | |
---|---|
int |
getIndexPt()
|
protected void |
updateShape()
Updates the Java2D shape of the handler. |
Methods inherited from class net.sf.latexdraw.glib.handlers.Handler |
---|
contains, getCentre, getColour, getOpacity, getPicker, getSize, getX, getY, paint, setOpacity, setPoint, setSize, toString, update, updateFromShape |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int indexPt
Constructor Detail |
---|
public MovePtHandler(int indexPt)
indexPt
- The index of the point in its shape.Method Detail |
---|
protected void updateShape()
Handler
updateShape
in class Handler<java.awt.geom.Rectangle2D>
public int getIndexPt()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |