|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetworkDrawable
| Method Summary | |
|---|---|
void |
allowResizing(boolean allow)
Sets whether or not this NetworkDrawable will be resized to fit its label. |
void |
calcSize(SimGraphics g)
Calculates the size of this NetworkDrawable. |
java.awt.Color |
getBorderColor()
Gets the border color for this NetworkDrawable. |
int |
getBorderWidth()
Gets the border width for this NetworkDrawable. |
java.awt.Color |
getColor()
Gets the color of this NetworkDrawable. |
java.awt.Font |
getFont()
Gets the label font for this NetworkDrawable. |
int |
getHeight()
Gets the height of this NetworkDrawable. |
java.awt.Color |
getLabelColor()
Gets label color for this NetworkDrawable. |
int |
getWidth()
Gets the width of this NetworkDrawable. |
void |
setBorderColor(java.awt.Color c)
Sets the border color for this NetworkDrawable. |
void |
setBorderWidth(int width)
Sets the border width for this NetworkDrawable. |
void |
setColor(java.awt.Color c)
Sets color of this NetworkDrawable. |
void |
setFont(java.awt.Font font)
Sets the label font for this NetworkDrawable. |
void |
setHeight(int height)
Sets the height of this NetworkDrawable. |
void |
setLabel(java.lang.String label)
Sets the label for this NetworkDrawable. |
void |
setLabelColor(java.awt.Color c)
Sets label color for this NetworkDrawable. |
void |
setWidth(int width)
Sets the width of this NetworkDrawable. |
void |
setX(double val)
Sets the X coordinate for the NetworkDrawable. |
void |
setY(double val)
Sets the Y coordinate for the NetworkDrawable. |
| Methods inherited from interface uchicago.src.sim.gui.NonGridDrawable |
|---|
contains, draw, getX, getY |
| Method Detail |
|---|
void setX(double val)
void setY(double val)
void calcSize(SimGraphics g)
void setLabel(java.lang.String label)
void setBorderColor(java.awt.Color c)
java.awt.Color getBorderColor()
void setBorderWidth(int width)
int getBorderWidth()
void setFont(java.awt.Font font)
java.awt.Font getFont()
void setLabelColor(java.awt.Color c)
java.awt.Color getLabelColor()
void setColor(java.awt.Color c)
java.awt.Color getColor()
int getWidth()
getWidth in interface NonGridDrawablevoid setWidth(int width)
int getHeight()
getHeight in interface NonGridDrawablevoid setHeight(int height)
void allowResizing(boolean allow)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||