|
jET |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jet.tracks.Track
|
+--org.jet.tracks.ArcTrack
Arc track.
| Field Summary |
| Fields inherited from class org.jet.tracks.Track |
CANYON, damage, enviroment, FLAT, friction, length, MOUNTAINS, name, node1, node2, quality, radius, roll1, roll2, secondTexture, tapDistance, texHeight, texSlope, texture, textureLength, texWidth, TUNNEL, vec1, vec2, visibility, width |
| Constructor Summary | |
ArcTrack(double radius,
double angle)
|
|
| Method Summary | |
float |
getAngle(java.awt.Point p)
Get rotate angle for specified handle. |
java.awt.Point[] |
getHandles()
Gets array of points in component coordinates where to put handles. |
double |
getLength()
Gets the track length. |
float |
getMaximalVelocity()
|
java.awt.Rectangle |
getRenderedRectangle()
Gets rectangle where the icon is contained. |
java.lang.String |
getToolTip()
Contents of component used as a formant. |
void |
paintComponent(java.awt.Graphics g)
Paints icon of the element on the component. |
| Methods inherited from class org.jet.tracks.Track |
equals, getDamage, getEnviroment, getFriction, getIncline, getName, getPoint1, getPoint2, getQuality, getRadius, getRoll1, getRoll2, getSecondTexture, getTap, getTexture, getTextureHeight, getTextureLength, getTextureSlope, getTextureWidth, getVector1, getVector2, getWidth, isVisible, setDamage, setEnviroment, setFriction, setLength, setName, setPoint1, setPoint1, setPoint1, setPoint2, setPoint2, setPoint2, setQuality, setRadius, setRoll1, setRoll2, setSecondTexture, setTap, setTexture, setTextureHeight, setTextureLength, setTextureSlope, setTextureWidth, setVector1, setVector1, setVector1, setVector2, setVector2, setVector2, setVisible, setWidth, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ArcTrack(double radius,
double angle)
| Method Detail |
public java.lang.String getToolTip()
Componentable
getToolTip in interface Componentablepublic double getLength()
Track
getLength in class Trackpublic java.awt.Point[] getHandles()
Componentable
getHandles in interface Componentablepublic java.awt.Rectangle getRenderedRectangle()
Componentable
getRenderedRectangle in interface ComponentableComponentable.paintComponent(java.awt.Graphics)public float getAngle(java.awt.Point p)
Componentable
getAngle in interface Componentablep - Handle specified by point coordinates.Componentable.getHandles()public void paintComponent(java.awt.Graphics g)
Componentable
paintComponent in interface Componentableg - Graphics to paint.public float getMaximalVelocity()
|
jET |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||