CH.ifa.draw.figures
Class FontSizeHandle

java.lang.Object
  extended by CH.ifa.draw.standard.AbstractHandle
      extended by CH.ifa.draw.standard.LocatorHandle
          extended by CH.ifa.draw.figures.FontSizeHandle
All Implemented Interfaces:
Handle

public class FontSizeHandle
extends LocatorHandle

A Handle to change the font size by direct manipulation.


Field Summary
 
Fields inherited from class CH.ifa.draw.standard.AbstractHandle
HANDLESIZE
 
Constructor Summary
FontSizeHandle(Figure owner, Locator l)
           
 
Method Summary
 void draw(java.awt.Graphics g)
          Draws this handle.
 void invokeStart(int x, int y, DrawingView view)
           
 void invokeStep(int x, int y, int anchorX, int anchorY, DrawingView view)
          Tracks a step of the interaction.
 
Methods inherited from class CH.ifa.draw.standard.LocatorHandle
locate
 
Methods inherited from class CH.ifa.draw.standard.AbstractHandle
containsPoint, displayBox, invokeEnd, invokeEnd, invokeStart, invokeStep, owner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontSizeHandle

public FontSizeHandle(Figure owner,
                      Locator l)
Method Detail

invokeStart

public void invokeStart(int x,
                        int y,
                        DrawingView view)
Specified by:
invokeStart in interface Handle
Overrides:
invokeStart in class AbstractHandle
Parameters:
x - the x position where the interaction started
y - the y position where the interaction started
view - the handles container

invokeStep

public void invokeStep(int x,
                       int y,
                       int anchorX,
                       int anchorY,
                       DrawingView view)
Description copied from class: AbstractHandle
Tracks a step of the interaction.

Specified by:
invokeStep in interface Handle
Overrides:
invokeStep in class AbstractHandle
Parameters:
x - the current x position
y - the current y position
anchorX - the x position where the interaction started
anchorY - the y position where the interaction started

draw

public void draw(java.awt.Graphics g)
Description copied from class: AbstractHandle
Draws this handle.

Specified by:
draw in interface Handle
Overrides:
draw in class AbstractHandle