CH.ifa.draw.figures
Class FontSizeHandle
java.lang.Object
CH.ifa.draw.standard.AbstractHandle
CH.ifa.draw.standard.LocatorHandle
CH.ifa.draw.figures.FontSizeHandle
- All Implemented Interfaces:
- Handle
public class FontSizeHandle
- extends LocatorHandle
A Handle to change the font size by direct manipulation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontSizeHandle
public FontSizeHandle(Figure owner,
Locator l)
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 startedy - the y position where the interaction startedview - 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 positiony - the current y positionanchorX - the x position where the interaction startedanchorY - 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