|
SimJava 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAnim_port
public class Anim_port
An animation port, used to store display information about the port for the animation.
| Field Summary | |
|---|---|
static int |
BOTTOM
Attatch the port to the bottom side of the parent entity |
static String[] |
enum_side
|
static int |
LEFT
Attatch the port to the left side of the parent entity |
static int |
RIGHT
Attatch the port to the right side of the parent entity |
static int |
TOP
Attatch the port to the top side of the parent entity |
| Constructor Summary | |
|---|---|
Anim_port(String name,
String imagename)
This constructor should not be used directly, use the extended constructor in Sim_port instead. |
|
| Method Summary | |
|---|---|
void |
draw_messages(Graphics g)
This method should not be used directly |
(package private) void |
draw(Graphics g)
|
(package private) Point |
get_link_pos()
|
(package private) String |
get_name()
|
(package private) Anim_entity |
get_parent()
|
(package private) Point |
get_port_pos()
|
(package private) void |
link_port(Anim_port link,
boolean primary)
|
(package private) void |
move_msg(double pos)
|
(package private) static int |
parseSide(String side)
|
(package private) void |
set_data(String data)
|
(package private) void |
set_parent(Anim_entity parent)
|
void |
set_position(int side,
int pos)
This method should not be used directly. |
(package private) void |
update_position()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LEFT
public static final int RIGHT
public static final int TOP
public static final int BOTTOM
public static final String[] enum_side
| Constructor Detail |
|---|
public Anim_port(String name,
String imagename)
Sim_port instead.
| Method Detail |
|---|
public void set_position(int side,
int pos)
static int parseSide(String side)
void update_position()
void link_port(Anim_port link,
boolean primary)
String get_name()
void move_msg(double pos)
void set_data(String data)
void set_parent(Anim_entity parent)
Anim_entity get_parent()
Point get_link_pos()
Point get_port_pos()
public void draw_messages(Graphics g)
void draw(Graphics g)
|
SimJava 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||