|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAnim_entity
public class Anim_entity
An animation entity, used to store display information about an entity for the animation.
Constructor Summary | |
---|---|
Anim_entity(String name,
String base_img)
This constuctor should not be used directly, use the extended constructor in Sim_entity instead. |
Method Summary | |
---|---|
void |
add_param(Anim_param param)
This method should not be used directly. |
void |
add_port(Anim_port port)
This method should not be used directly. |
(package private) void |
draw_messages(Graphics g)
|
(package private) void |
draw(Graphics g)
|
(package private) Anim_port |
find_port(String port_name)
|
(package private) String |
get_bar_string()
|
(package private) Point |
get_end_position()
|
(package private) String |
get_name()
|
(package private) Point |
get_position()
|
(package private) Dimension |
get_size()
|
boolean |
is_invisible()
This method should not be used directly. |
void |
set_invisible(boolean b)
This method should not be used directly. |
(package private) void |
set_params(String param_string)
|
void |
set_position(int x,
int y)
This method should not be used directly. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Anim_entity(String name, String base_img)
Sim_entity
instead.
Method Detail |
---|
public void add_port(Anim_port port)
public void add_param(Anim_param param)
public void set_position(int x, int y)
void set_params(String param_string)
String get_bar_string()
void draw_messages(Graphics g)
void draw(Graphics g)
String get_name()
Dimension get_size()
Point get_position()
Point get_end_position()
public void set_invisible(boolean b)
public boolean is_invisible()
Anim_port find_port(String port_name)
|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |