|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrenderable.CommentArrow
public class CommentArrow
Draws an arrow (triangle to make the comment look like a speech bubble) between a comment and its source.
Field Summary | |
---|---|
(package private) renderable.CommentArrow.Arrow |
arrow
Internal Timer |
(package private) Comment |
comment
|
Constructor Summary | |
---|---|
CommentArrow(Comment comment)
Constructs this |
Method Summary | |
---|---|
java.awt.Container |
getParent()
This parent for this arrow |
(package private) boolean |
isActive()
Returns whether this animation is active |
void |
setLocation(int x,
int y)
Set new location for arrow |
void |
setLocation(java.awt.Point p)
set new location for arrow |
void |
setVisible(boolean b)
Sets the visibility of the arrow component |
void |
updateArrow()
update arrow properties according to current location of comment and commentSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Comment comment
renderable.CommentArrow.Arrow arrow
Constructor Detail |
---|
public CommentArrow(Comment comment)
Method Detail |
---|
public void setLocation(int x, int y)
public void setLocation(java.awt.Point p)
p
- public void updateArrow()
boolean isActive()
public void setVisible(boolean b)
public java.awt.Container getParent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |