Package uk.ac.starlink.topcat.plot2
Class PlotStiltsMonitor.PlotState
java.lang.Object
uk.ac.starlink.topcat.plot2.PlotStiltsMonitor.PlotState
- All Implemented Interfaces:
StiltsMonitor.State
- Enclosing class:
PlotStiltsMonitor
Defines the result of trying to serialize a PlotSpec to a STILTS command.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a styled document displaying the stilts command, or possibly an error message.getError()
Returns the error produced when trying to generate a stilts executable from the serialized commmand, or null if it seemed to work OK.getText()
Returns text of the command suitable for execution in a shell.
-
Method Details
-
getText
Description copied from interface:StiltsMonitor.State
Returns text of the command suitable for execution in a shell.- Specified by:
getText
in interfaceStiltsMonitor.State
- Returns:
- command text, not null
-
getDocument
Description copied from interface:StiltsMonitor.State
Returns a styled document displaying the stilts command, or possibly an error message.- Specified by:
getDocument
in interfaceStiltsMonitor.State
- Returns:
- styled document, not null
-
getError
Description copied from interface:StiltsMonitor.State
Returns the error produced when trying to generate a stilts executable from the serialized commmand, or null if it seemed to work OK.- Specified by:
getError
in interfaceStiltsMonitor.State
- Returns:
- throwable, or null
-