javapoint.components
Class LineGraphicObject.LineResizeHandle

java.lang.Object
  extended by javapoint.components.GraphicObject.ResizeHandle
      extended by javapoint.components.LineGraphicObject.LineResizeHandle
Enclosing class:
LineGraphicObject

public class LineGraphicObject.LineResizeHandle
extends GraphicObject.ResizeHandle


Constructor Summary
LineGraphicObject.LineResizeHandle(boolean startPoint)
           
 
Method Summary
 java.awt.Rectangle getBounds()
           
 java.awt.Cursor getCursor()
           
 float getProportionalLocationX()
           
 float getProportionalLocationY()
           
 void resizeComponentUsingPoint(java.awt.Point point)
           
 
Methods inherited from class javapoint.components.GraphicObject.ResizeHandle
getComponent, setBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineGraphicObject.LineResizeHandle

public LineGraphicObject.LineResizeHandle(boolean startPoint)
Parameters:
startPoint - true indicates that this handle is for (x1, y1), false indicates that this handle is for (x2, y2)
Method Detail

getCursor

public final java.awt.Cursor getCursor()
Overrides:
getCursor in class GraphicObject.ResizeHandle
Returns:

A possibly null value
A reference

getProportionalLocationX

public final float getProportionalLocationX()
Overrides:
getProportionalLocationX in class GraphicObject.ResizeHandle
Returns:

Range: {RESIZE_HANDLE_LEFT, RESIZE_HANDLE_MIDDLE, RESIZE_HANDLE_RIGHT}

getProportionalLocationY

public final float getProportionalLocationY()
Overrides:
getProportionalLocationY in class GraphicObject.ResizeHandle
Returns:

Range: {RESIZE_HANDLE_TOP, RESIZE_HANDLE_MIDDLE, RESIZE_HANDLE_BOTTOM}

resizeComponentUsingPoint

public final void resizeComponentUsingPoint(java.awt.Point point)
Overrides:
resizeComponentUsingPoint in class GraphicObject.ResizeHandle
Parameters:
point - in slide coordinates
Should not be null

getBounds

public java.awt.Rectangle getBounds()
Overrides:
getBounds in class GraphicObject.ResizeHandle
Returns:

A non-null value