edu
Class RectElement
java.lang.Object
|
+--edu.rti.RTIObject
|
+--edu.RectElement
- public class RectElement
- extends RTIObject
- implements Element
- See Also:
- Serialized Form
Constructor Summary |
|
RectElement()
|
(package private) |
RectElement(int _objectID)
|
(package private) |
RectElement(int x,
int y,
int w,
int h,
java.awt.Color c)
|
(package private) |
RectElement(int x,
int y,
int w,
int h,
java.awt.Color c,
int _objectID,
int _tX,
int _tY)
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
bounds
java.awt.Rectangle bounds
tX
int tX
tY
int tY
color
java.awt.Color color
deltaX
int deltaX
deltaY
int deltaY
deltaW
int deltaW
deltaH
int deltaH
deltaTX
int deltaTX
deltaTY
int deltaTY
reflect
UpdateListener reflect
RectElement
public RectElement()
RectElement
RectElement(int _objectID)
RectElement
RectElement(int x,
int y,
int w,
int h,
java.awt.Color c)
RectElement
RectElement(int x,
int y,
int w,
int h,
java.awt.Color c,
int _objectID,
int _tX,
int _tY)
getBounds
public java.awt.Rectangle getBounds()
- Specified by:
- getBounds in interface Element
commitTranslation
public void commitTranslation(int dX,
int dY)
- Specified by:
- commitTranslation in interface Element
updateTranslation
public void updateTranslation(int dX,
int dY)
- Specified by:
- updateTranslation in interface Element
isSelectable
public boolean isSelectable()
- Specified by:
- isSelectable in interface Element
paint
public void paint(java.awt.Graphics g)
- Specified by:
- paint in interface Element
setCord
public void setCord(int x,
int y,
int w,
int h)
setUpdateListener
public void setUpdateListener(UpdateListener lis)
- Specified by:
- setUpdateListener in interface Element
fireUpdate
final void fireUpdate()
getAttributes
public java.util.Properties getAttributes(boolean state)
- Overrides:
- getAttributes in class RTIObject
setAttributes
public void setAttributes(java.util.Properties p)
- Overrides:
- setAttributes in class RTIObject
reflectAttributes
public void reflectAttributes(java.util.Vector p)
- Overrides:
- reflectAttributes in class RTIObject