Skip navigation links

Package uk.ac.starlink.ast.gui

This package is intended as a repository for components that are useful when developing UIs that control the uk.ac.starlink.ast class library.

See: Description

Package uk.ac.starlink.ast.gui Description

This package is intended as a repository for components that are useful when developing UIs that control the uk.ac.starlink.ast class library.

The main contents are currently a generic interface for configuring AST Plots PlotConfigurator and a number of models of the contents of various related plot options. These are unified by the PlotConfiguration class. Together with the StoreConfigurator and ConfigurationStore configurations can be applied to Plots and stored/restored from XML (see XMLEncodeAndDecode).

In addition to the standard Plot configuration options, extra pages of controls can be added to the PlotConfigurator, these can then be used to configure related features. The classes GraphicsHints, GraphicsEdges and ColourStore, together with their related controls exemplify this (also see the TestPlotConfigFrame.java example file in the source release).

The presentation of AST axis related values can be made to work in a native fashion using the AstDouble class, and the various components that make use of it: AstDoubleField, AstCellEditor and AstDoubleDocument. For completeness there's also a similar DecimalField for simple numbers.

Finally a set of classes for displaying all the fonts in a Font and choosing any characters for export are available (see SelectCharacters and supporting classes).

Related documentation

Skip navigation links

Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.