public class SymbolRectTracker 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 |
---|
SymbolRectTracker(java.awt.Component diagram) |
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getRectangle() |
boolean |
mousePressed(java.awt.Point point) |
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setLocation(int x,
int y) |
void |
setSize(java.awt.Dimension d) |
void |
setTrackerObject(Figure figure) |
void |
updateLocation1() |
drawHandle, getBounds, getCursor, hitTest, mouseDragged, mouseMoved, mouseReleased, normalizeRect, paint, resetTrackerHandle, setTrackerObject
public void setTrackerObject(Figure figure)
setTrackerObject
in interface TrackerInterface
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
public void updateLocation1()
public boolean mousePressed(java.awt.Point point)
mousePressed
in interface TrackerInterface
mousePressed
in class RectTracker
Copyright ? 2022. All Rights Reserved.