public class TextRectTracker extends RectTracker
dash1, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, hitBottom, hitBottomLeft, hitBottomRight, hitLeft, hitMiddle, hitNothing, hitRight, hitTop, hitTopLeft, hitTopRight, m_nHandleSize, m_TrackerColor, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TrackerStroke, W_RESIZE_CURSOR
Constructor and Description |
---|
TextRectTracker(java.awt.Component diagram) |
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getRectangle() |
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setLocation(int x,
int y) |
void |
setSize(java.awt.Dimension d) |
void |
setTrackerObject(TextFigure figure) |
drawHandle, getBounds, getCursor, hitTest, mouseDragged, mouseMoved, mousePressed, mouseReleased, normalizeRect, paint, resetTrackerHandle, setTrackerObject
public void setTrackerObject(TextFigure figure)
setTrackerObject
in class RectTracker
public void setBounds(int x, int y, int width, int height)
setBounds
in class RectTracker
public void setSize(java.awt.Dimension d)
setSize
in class RectTracker
public void setLocation(int x, int y)
setLocation
in class RectTracker
public java.awt.Rectangle getRectangle()
getRectangle
in class RectTracker
Copyright ? 2022. All Rights Reserved.