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.
-
-
Field Summary
-
Fields inherited from class CH.ifa.draw.standard.AbstractHandle
HANDLESIZE
-
-
Constructor Summary
Constructors Constructor and Description FontSizeHandle(Figure owner, Locator l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddraw(java.awt.Graphics g)Draws this handle.voidinvokeStart(int x, int y, DrawingView view)voidinvokeStep(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
-
-
-
-
Method Detail
-
invokeStart
public void invokeStart(int x, int y, DrawingView view)- Specified by:
invokeStartin interfaceHandle- Overrides:
invokeStartin classAbstractHandle- 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:AbstractHandleTracks a step of the interaction.- Specified by:
invokeStepin interfaceHandle- Overrides:
invokeStepin classAbstractHandle- 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:AbstractHandleDraws this handle.- Specified by:
drawin interfaceHandle- Overrides:
drawin classAbstractHandle
-
-
DataMelt 3.0 © DataMelt by jWork.ORG