public abstract class AbstractPlaceableJavaSE
extends java.lang.Object
| Red (ishwinde) |
| Red (ishwinde) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPlaceableJavaSE.WindowClosingAdapter
Listener for windowClosing action.
|
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JFrame |
_frame
The associated frame.
|
protected SizeAttribute |
_paneSize
A specification of the size of the pane if it's in its own window.
|
protected AbstractPlaceableJavaSE.WindowClosingAdapter |
_windowClosingAdapter
A reference to the listener for removal purposes.
|
protected WindowPropertiesAttribute |
_windowProperties
A specification for the window properties of the frame.
|
| Constructor and Description |
|---|
AbstractPlaceableJavaSE() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_exportMoMLContents(java.io.Writer output,
int depth)
Write a MoML description of the contents of this object.
|
protected void |
cleanUp()
Free up memory when closing.
|
void |
init(TypedAtomicActor actor)
Initialize the specified actor with window properties and pane size attributes.
|
void |
setFrame(javax.swing.JFrame frame)
Specify the associated frame and set its properties (size, etc.)
|
protected javax.swing.JFrame _frame
protected SizeAttribute _paneSize
protected WindowPropertiesAttribute _windowProperties
protected AbstractPlaceableJavaSE.WindowClosingAdapter _windowClosingAdapter
public void init(TypedAtomicActor actor) throws IllegalActionException, NameDuplicationException
actor - The actor contained in the Window.IllegalActionException - If the entity cannot be contained
by the proposed container.NameDuplicationException - If the container already has an
actor with this name.public void setFrame(javax.swing.JFrame frame)
frame - The associated frame.protected void cleanUp()
protected void _exportMoMLContents(java.io.Writer output,
int depth)
throws java.io.IOException
output - The output stream to write to.depth - The depth in the hierarchy, to determine indenting.java.io.IOException - If an I/O error occurs.