|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DrawableImage
This defines methods used by drawable images.
Method Summary | |
---|---|
FilterStack |
getFilterStack()
Gets the filter stack. |
java.awt.image.BufferedImage |
getImage()
Gets the image as a BufferedImage. |
java.lang.Object |
getProperty(java.lang.String name)
Gets a user property of the image. |
java.util.Collection<java.lang.String> |
getPropertyNames()
Gets an array of user properties names. |
boolean |
isVisible()
Gets the visibility of the image. |
void |
setFilterStack(FilterStack stack)
Sets the filter stack. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a user property of the image. |
void |
setVisible(boolean visible)
Shows or hides the image. |
Methods inherited from interface org.opensourcephysics.display.Drawable |
---|
draw |
Method Detail |
---|
java.awt.image.BufferedImage getImage()
void setVisible(boolean visible)
visible
- true
to make the image visibleboolean isVisible()
true
if the image is visiblevoid setFilterStack(FilterStack stack)
stack
- the new filter stackFilterStack getFilterStack()
void setProperty(java.lang.String name, java.lang.Object value)
name
- the name of the propertyvalue
- the value of the propertyjava.lang.Object getProperty(java.lang.String name)
name
- the name of the property
java.util.Collection<java.lang.String> getPropertyNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |