public class PlotterBaseJavaSE extends java.lang.Object implements PlotterBaseInterface
Modifier and Type | Class and Description |
---|---|
protected class |
PlotterBaseJavaSE.PlotWindowTableau
Tableau that creates a PlotterPlotFrame.
|
(package private) class |
PlotterBaseJavaSE.WindowClosingAdapter
Listener for windowClosing action.
|
Modifier and Type | Field and Description |
---|---|
protected java.awt.Container |
_container
Container into which this plot should be placed.
|
protected PlotTableauFrame |
_frame
Frame into which plot is placed, if any.
|
protected SizeAttribute |
_plotSize
An attribute that contains the size of the plot.
|
protected PlotterBase |
_plotterBase
The base instance that created the implementation.
|
protected PlotterBaseJavaSE.PlotWindowTableau |
_tableau
The Plotter tableau.
|
protected PlotterBaseJavaSE.WindowClosingAdapter |
_windowClosingAdapter
A reference to the listener for removal purposes.
|
protected WindowPropertiesAttribute |
_windowProperties
An attribute tha contains the size and position of the window.
|
Constructor and Description |
---|
PlotterBaseJavaSE() |
Modifier and Type | Method and Description |
---|---|
void |
bringToFront()
Show and then bing the frame to the front.
|
void |
cleanUp()
Free up memory when closing.
|
java.lang.Object |
getFrame()
Get the plotter's frame.
|
java.lang.Object |
getPlatformContainer()
Get the platform dependent container that contains the plotter.
|
java.lang.Object |
getTableau()
Get the plotter tableau.
|
void |
init(PlotterBase plotterBase)
Initialize the implementation.
|
void |
initializeEffigy()
Initialize the effigy of the plotter.
|
void |
initWindowAndSizeProperties()
Initialize the effigy of the plotter.
|
PlotBoxInterface |
newPlot()
Create a new instance of the PlotBoxInterface implementation.
|
void |
remove()
Remove the plot from the current container, if there is one.
|
void |
removeNullContainer()
Remove the plot from the frame if the container is null.
|
void |
setFrame(java.lang.Object frame)
Set the frame of the plotter.
|
void |
setPlatformContainer(java.lang.Object container)
Set the platform dependent container of the plotter.
|
void |
setTableauTitle(java.lang.String title)
Set the title of the tableau.
|
void |
updateSize()
Update size attribute of the plotter.
|
void |
updateWindowAndSizeAttributes()
Update values of the attributes.
|
protected java.awt.Container _container
protected transient PlotTableauFrame _frame
protected SizeAttribute _plotSize
protected PlotterBase _plotterBase
protected PlotterBaseJavaSE.PlotWindowTableau _tableau
protected PlotterBaseJavaSE.WindowClosingAdapter _windowClosingAdapter
protected WindowPropertiesAttribute _windowProperties
public void bringToFront()
bringToFront
in interface PlotterBaseInterface
public void cleanUp()
cleanUp
in interface PlotterBaseInterface
public java.lang.Object getFrame()
getFrame
in interface PlotterBaseInterface
setFrame(Object)
public java.lang.Object getPlatformContainer()
getPlatformContainer
in interface PlotterBaseInterface
setPlatformContainer(Object)
public java.lang.Object getTableau()
getTableau
in interface PlotterBaseInterface
public void init(PlotterBase plotterBase)
init
in interface PlotterBaseInterface
plotterBase
- the instance that created the implementation.public void initializeEffigy() throws IllegalActionException
initializeEffigy
in interface PlotterBaseInterface
IllegalActionException
- If there is a problem initializing the effigypublic void initWindowAndSizeProperties() throws IllegalActionException, NameDuplicationException
initWindowAndSizeProperties
in interface PlotterBaseInterface
IllegalActionException
- If there is a problem initializing the effigyNameDuplicationException
- if there is a problem creating the attributes.public PlotBoxInterface newPlot()
newPlot
in interface PlotterBaseInterface
public void remove()
remove
in interface PlotterBaseInterface
public void removeNullContainer()
removeNullContainer
in interface PlotterBaseInterface
public void setFrame(java.lang.Object frame)
setFrame
in interface PlotterBaseInterface
frame
- The frame to set.getFrame()
public void setPlatformContainer(java.lang.Object container)
setPlatformContainer
in interface PlotterBaseInterface
container
- the platform dependent container.getPlatformContainer()
public void setTableauTitle(java.lang.String title)
setTableauTitle
in interface PlotterBaseInterface
title
- the title to set.public void updateSize()
updateSize
in interface PlotterBaseInterface
public void updateWindowAndSizeAttributes()
updateWindowAndSizeAttributes
in interface PlotterBaseInterface