public interface ImageDisplayInterface
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Free up memory when closing.
|
void |
display(Token in)
Display the specified token.
|
java.awt.Color |
getBackground()
Get the background.
|
java.lang.Object |
getFrame()
Get the image's frame.
|
java.lang.Object |
getPicture()
Get the platform dependent picture that contains the image.
|
java.lang.Object |
getPlatformContainer()
Get the platform dependent container that contains the image.
|
java.lang.Object |
getTableau()
Get the image tableau.
|
void |
init(ImageDisplay imageDisplay)
Initialize an object.
|
void |
initializeEffigy()
Initialize the effigy of the image.
|
void |
initWindowAndSizeProperties()
Initialize window and size attributes.
|
void |
placeContainer(java.awt.Container container)
Set the container to be placed.
|
void |
setBackground(java.awt.Color background)
Set the background.
|
void |
setFrame(java.lang.Object frame)
Set the frame of the image.
|
void |
setPicture(java.lang.Object picture)
Set the platform dependent picture of the image.
|
void |
setPlatformContainer(java.lang.Object container)
Set the platform dependent container of the image.
|
void cleanUp()
void display(Token in)
in
- The token to displayjava.awt.Color getBackground()
setBackground(Color)
java.lang.Object getFrame()
setFrame(Object)
java.lang.Object getPicture()
setPicture(Object)
java.lang.Object getPlatformContainer()
setPlatformContainer(Object)
java.lang.Object getTableau()
void init(ImageDisplay imageDisplay) throws IllegalActionException, NameDuplicationException
imageDisplay
- The object to be initializedIllegalActionException
- If the entity cannot be contained
by the proposed container.NameDuplicationException
- If the container already has an
actor with this name.void initializeEffigy() throws IllegalActionException
IllegalActionException
- If there is a problem initializing the effigyvoid initWindowAndSizeProperties() throws IllegalActionException, NameDuplicationException
IllegalActionException
- If there is a problem creating the attributes.NameDuplicationException
- If there is a problem creating the attributes.void placeContainer(java.awt.Container container)
container
- The Container to be placed.void setBackground(java.awt.Color background)
background
- The background color.getBackground()
void setFrame(java.lang.Object frame)
frame
- The frame to set.getFrame()
void setPicture(java.lang.Object picture)
picture
- The picturegetPicture()
void setPlatformContainer(java.lang.Object container)
container
- the platform dependent container.getPlatformContainer()