public interface DisplayInterface
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Free up memory when closing.
|
void |
display(java.lang.String tokenValue)
Append the string value of the token to the text area
on the screen.
|
java.lang.Object |
getTextArea()
Return the object of the containing text area.
|
void |
init(Display display)
Set the number of rows for the text area.
|
void |
openWindow()
Open the display window if it has not been opened.
|
void |
place(PortableContainer container)
Specify the container in which the data should be displayed.
|
void |
remove()
Remove the display from the current container, if there is one.
|
void |
setColumns(int numberOfColumns)
Set the desired number of columns of the textArea, if there is one.
|
void |
setRows(int numberOfRows)
Set the desired number of rows of the textArea, if there is one.
|
void |
setTitle(java.lang.String stringValue)
Set the title of the window.
|
void cleanUp()
void display(java.lang.String tokenValue)
tokenValue
- The string to be displayedjava.lang.Object getTextArea()
void init(Display display) throws IllegalActionException, NameDuplicationException
display
- Object of the display actor.IllegalActionException
- If the entity cannot be contained
by the proposed container.NameDuplicationException
- If the container already has an
actor with this name.void openWindow() throws IllegalActionException
IllegalActionException
- If there is a problem creating
the effigy and tableau.void place(PortableContainer container)
container
- The container into which to place the text area, or
null to specify that there is no current container.void remove()
void setColumns(int numberOfColumns) throws IllegalActionException
numberOfColumns
- The new value of the attribute.IllegalActionException
- If the specified attribute
is rowsDisplayed and its value is not positive.void setRows(int numberOfRows) throws IllegalActionException
numberOfRows
- The new value of the attribute.IllegalActionException
- If the specified attribute
is rowsDisplayed and its value is not positive.void setTitle(java.lang.String stringValue) throws IllegalActionException
If the title parameter is set to the empty string, and the Display window has been rendered, then the title of the Display window will be updated to the value of the name parameter.
stringValue
- The title to be set.IllegalActionException
- If the title cannot be set.