Package edu.neu.ccs.gui

Provides classes and interfaces for designing and implementing graphical interfaces and for the creation of paintable and mutatable objects..

See:
          Description

Interface Summary
AlertListener Interface to be implemented by a graphical interface component capabile of altering its visualization to signal a user alert state.
Displayable Interface to be implemented by a Component whose input widget values (view state) can be translated to and from a String represenatation.
Fragile Interface to be implemented by classes of graphical interface components whose view state may be malformed.
GeneralView Interface to be implemented by a class of interface objects whose view state may be appropriate for input of various classes of model objects.
MalformedDataListener Interface to be implemented by a class of graphical interface components that desire to be notified when Fragile interface components encounter malformed data.
Paintable Paintable describes an object that can paint onto a graphics context.
PaintAlgorithm The interface PaintAlgorithm specifies an algorithm that may be used to define a TexturePaint object; this algorithm should return a Color for each x,y pixel position; this algorithm should be periodic in both the x and y directions.
Path.Strategy The Strategy interface requires one method that returns a GeneralPath given its input parameters.
StringObjectView The interface for views designed to permit the selection of an object using an associated string in a StringObjectMap.
SupportsPropertyChange SupportsPropertyChange is an interface for objects that can add PropertyChangeListener objects, can fire PropertyChangeEvent events directly to those listeners, and can forward internal PropertyChangeEvent events to those listeners as well.
TableGenerator Interface for a class that can be used to make the contents of a table.
Tangent.Strategy The Strategy interface requires methods that return the tangent array for a closed or open Bezier curve from its vertex array and, if needed, its end tangent data.
TextAnchor.Locator The Locator interface defines the methods needed to compute the coordinates, bounds, and center of a String displayed in a given Font using the given anchor positions and this strategy.
TextAnchor.XLocator The XLocator interface defines the methods needed to compute the x-coordinate of the left, right, and center of a given String displayed in a given Font using the given anchorX position and this strategy.
TextAnchor.YLocator The YLocator interface defines the methods needed to compute the y-coordinate of the base line, ascent line, descent line, and leading line of a given String displayed in a given Font using the given anchorY position and this strategy.
TextBounds.Strategy The Strategy interface defines the call-back method needed to compute accurate bounds for a TextPaintable.
TypedView Interface to be implemented by a class of interface objects whose data state is appropriate for input of a particular class of model objects.
 

Class Summary
AbsoluteLayout Layout manager allowing child components of a container to control their own locations and sizes.
AbstractPaintable The abstract class AbstractPaintable defines objects that implement Paintable.
ActionSequence An ordered collection of ActionListener objects similar to a List; the sequence itself is an instance of AbstractAction; the actionPerformed method of the sequence executes the actionPerformed method of each listener in its list in order of entry into the list.
ActionsPanel A panel containing Action objects represented by buttons that initiate their respective actions.
ActionWrapper Base class for encapsulating Action objects to provide extra functionality.
AlertEvent Class of AWTEvents encapsulating the designation that a graphical input object should enter or exit alert status.
AlgebraicArea Class AlgebraicArea provides static methods to compute the signed area of a Java Shape and of a JPT PathList object.
AlignedLayout Layout that maintains a single component in a justified position within the parent container.
Annotation A Displayable component representing an annotation in a GUI, such as the prompt for an input object or the caption for an image.
ArrayPanel Class ArrayPanel is an abstract class that is designed for the input of an array of a single type of Stringable object; this class must implement the TypedView interface in such a way that the data type associated with this view is constructed via the Stringable array in some fashion.
AutomaticCurve Class AutomaticCurve extends AutomaticShape and fixes the Path.Strategy to be Path.BEZIER_CUBIC.
AutomaticShape Class AutomaticShape implements a BaseVertexShape in which the tangent array is always automatically computed from the vertex array and other settings using a Tangent.Strategy object.
BasePane Class BasePane contains common font and size definitions for use in certain other JPT classes.
BaseShape Class BaseShape encapsulates a Shape defined using vertex and tangent data.
BaseVertexShape Class BaseVertexShape extends BaseShape to provide the common functionality for those classes that either do not use the tangent data of BaseShape or compute the tangent data automatically from the vertex data and other internal settings.
BooleanView A TypedView for the input of a boolean value.
Borders Class Borders redesigns the Java class BorderFactory by providing brief names for many methods in that class and by providing additional convenience methods that do not exist in that class.
BufferedPanel A BufferedPanel combines bit-map-graphics with algorithmic graphics based on objects.
BufferedPanel.Painter Panel that paints the internal buffered image that maintains the persistent graphics state of the buffered panel.
CellPosition Encapsulates a row-column pair referencing an index in a 2-dimensional array.
CenterLayout Layout that maintains a single component in the absolute center of the parent container.
ChangeAction Encapsulates an action that is performed as a result of a ChangeEvent.
ChangeActionAdapter An adapter class for receiving change events, and performing actions in response to those events.
ChangeActionEvent Class of events representing an action triggered by a change event.
CheckerBoard CheckerBoard implements a checkerboard in which one can interactively contrast two colors.
ClippingWrapper The class ClippingWrapper will wrap a Paintable and a clipping Shape to obtain a Paintable that clips the original Paintable to the Shape.
ClosureMode Class ClosureMode encapsulates the choices for the closure mode of a polygon or bezier cubic curve.
ColorPane Class ColorPane provides a pane that may be used to interactively set a color by setting the red, green, blue, and alpha components using 4 SliderView sliders.
ColorPaneDialog Class ColorPaneDialog constructs an OK-Cancel dialog whose content is a ColorPane.
ColorView A TypedView for the input of a Color that contains an optional color swatch on the left that displays the selected color and an optional dropdown view on the right that allows for both the direct input of numeric color data (rgba or hex) and for the selection of certain colors using swatch-name pairs shown in the dropdown.
ComponentAction Encapsulates an action that is performed as a result of a ComponentEvent.
ComponentActionAdapter An adapter class for receiving component events and performing actions in response to those events.
ComponentActionEvent Class of events representing an action triggered by a component event.
ComponentFactory ComponentFactory has 3 static methods that create gui or graphical objects from more general objects.
DataTables2D Class DataTables2D provides static methods to create data tables from "functions" of type Function.OneArg.
DialogAction Encapsulates an Action that will be performed for a GeneralDialog.
DirectApplet Class DirectApplet provides a base class for building an applet simply.
Display A panel containing a >Displayable> object, with the option of a title and an >Annotation>.
Display.Settings Data structure encapsulating the content and layout properties for a >Display>.
DisplayCollection A dynamic linear collection of Displayable objects, displayed using either a horizontal or vertical layout.
DisplayPanel A DisplayPanel is a JPanel that recursively propagates Displayable method calls only to contained components that are also Displayable.
Dropdown Class Dropdown provides the base functionality for dropdown lists.
DropdownView A GeneralView for the selection of one of various provided String items or, if editable, a choice entered by the user.
ErrorDialog A modal dialog box for input of Stringable objects that is used by the standard error handling strategy for Fragile components in the JPT.
ExpressionEvaluationPane Class ExpressionEvaluationPane provides a pane that permits the interactive evaluation of expressions with data types BigInteger, double, and boolean.
FileView A TypedView for input of a filename that either represents a path to an existing file or a path to which a file could be written.
FileView.ExtensionFileFilter A file filter that accepts all files with a specific extension.
FocusAction Encapsulates an action that is performed as a result of a FocusEvent.
FocusActionAdapter An adapter class for receiving focus events, and performing actions in response to those events.
FocusActionEvent Class of events representing an action triggered by a focus event.
Fonts Class Fonts contains a static method that returns a hash set with all installed font family names and also some static methods that select a particular font name from each of the following categories: monospaced, serif, sanserif.
FontSampler Class FontSampler creates a GUI to sample the fonts installed on the system.
FunctionsPlotter Class FunctionsPlotter is an end-user tool for plotting functions of one parameter.
GeneralDialog A dialog box containing a Component and an ActionsPanel that contains actions to respond to and dismiss the dialog.
GeneralViewSupport GeneralViewSupport contains the common code to support the features of a GeneralView.
Halo A wrapper class for one Object viewed as a Component that uses a CenterLayout and provides positive border insets.
HTable Class HTable extends TablePanel to constrain the table to be HORIZONTAL, that is, to have just one column.
ImageCapsule A JComponent displaying an image.
ImagePaintable An ImagePaintable creates an AbstractPaintable using an image, image icon, filename, or URL.
ImagePaintableLite An ImagePaintableLite creates a Paintable using an image filename or an image URL.
ImageTools Class ImageTools is a special purpose class for reading images in various formats from a directory on the local system.
ImageViewer Class ImageViewer creates an image viewer for local image files.
ImageViewerBase Class ImageViewerBase is the base class for building an image viewer for local image files (ImageViewer) and an image viewer for files on the web (WebImageViewer).
InputDialog A modal dialog box for input of a Stringable object that also provides static convenience methods for input using a provided input component.
InputDialog.CompoundView A typed view constructed from the provided input component and decorated based on the input properties of the view.
InputProperties A property list used to store properties pertaining to input components.
JPTComponent The abstract class JPTComponent extends JComponent in order to support property change and add mouse and key adapters.
JPTDialog Dialog box containing a TypedView and an ActionsPanel that contains actions that interact with the view.
JPTFrame JPTFrame extends the Java JFrame class for the following purposes.
JPTScrollPane Class JPTScrollPane extends JScrollPane by adding methods that help control the preferred size of the JViewport window.
KeyAction Encapsulates an action that is performed as a result of a KeyEvent.
KeyActionAdapter An adapter class for receiving key events, and performing action listeners in response to those events.
KeyActionEvent Class of events representing an action triggered by a key event.
KeyPressReleaseListener The class KeyPressReleaseListener implements a KeyListener that tracks the pressed-released state of keyboard keys.
Laminate Component used to "laminate" an existing component by mimicing its size and location and always maintaining a higher z-order, in order to impart mouse handling without intervention by the laminated component.
LayeredComponent Class LayeredComponent encapsulates a JComponent which is in the foreground of the panel and a background which consists of multiple layers.
ListSelectionAction Encapsulates an action that is performed as a result of a ListSelectionEvent.
ListSelectionActionAdapter An adapter class for receiving list selection events, and performing action listeners in response to those events.
ListSelectionActionEvent Class of events representing an action triggered by a list selection event.
LookAndFeelTools Class LookAndFeelTools contains several static methods that assist in using the Java look and feel facilities.
MalformedDataEvent Class of AWTEvents encapsulating the designation that a graphical input object has just been verified to have a malformed view state, or has just had its previously malformed view state restored to a well-formed state.
MouseAction Encapsulates an action that is performed as a result of a MouseEvent.
MouseActionAdapter An adapter class for receiving mouse input events and performing actions in response to those events.
MouseActionEvent Class of events representing an action triggered by a mouse event.
MultiColorView Class MultiColorView provides a view in which there is a table with labels in column 0 and corresponding ColorView objects in column 1.
MultiLineTextPaintable Class MultiLineTextPaintable provides the basic functionality of TextPaintable for text that contains newlines.
Mutator Class Mutator encapsulates an abstract class Strategy that defines a mutator strategy for general Paintable objects and an abstract class StrategyUsage that decribes how to use a mutator strategy for a PaintableSequence.
Mutator.Strategy Class Strategy encapsulates an algorithm that will produce a mutator AffineTransform given the center of an associated object.
Mutator.StrategyUsage Class StrategyUsage is used to define constants to be used to control the usage of Strategy objects.
OptionsView A TypedView for selection of one out of various indexed and labeled choices represented by JRadioButtons.
PaintableButton Class PaintableButton encapsulates a Paintable and uses that paintable to define the icon for the button and to determine the size of the button.
PaintableComponent Class PaintableComponent encapsulates a Paintable and uses that paintable to define the PaintComponent method and to determine the size of the component.
PaintableSequence A PaintableSequence encapsulates a sequence of Paintable objects.
PaintableSequenceComposite The class PaintableSequenceComposite is a base class for the construction of Paintable classes.
PaintableTools The class PaintableTools collects static methods that construct objects of other types from Paintable objects.
PaintAction Encapsulates an action that is performed as a result of a call to paint a component.
PaintActionCapsule A JComponent that contains a sequence of action listeners performed every time this component is painted.
PaintActionEvent Class of events representing an action triggered by a call to paint a component.
PaintBar Class PaintBar implements a Paintable that paints a one or two dimensional array of disks.
PaintMode Abstract class PaintMode defines the requirements for an object that can control the painting of a ShapePaintable.
PaintSwatch Class PaintSwatch is a light weight component to draw a rectangular paint swatch with a given paint, size, and optional border.
PaintTools The class PaintTools contains static methods that use PaintAlgorithm objects to make other useful objects such as TexturePaint objects and BufferedImage objects; the class also contains static methods that manipulate PaintAlgorithm objects to create new objects that may be used to define hatch patterns.
Path Class Path encapsulates an interface Strategy that defines the requirement for a strategy that can automatically build a GeneralPath given vertex and tangent data.
PathList The PathList class combines an explicit sequence of PathNode objects together with a winding rule to provide a flexible alternative to the Java class GeneralPath.
PathListFunction Class PathListFunction contains methods to compute one or more points on a path that is defined by a PathList given a parameter t.
PathListIterator The PathListIterator class creates a Java PathIterator based on an internal PathList.
PathListView Class PathListView creates a view for input and output of a PathList in a GUI.
PathNode Class PathNode makes explicit a data structure for the ingredients that may be used to build a Java object of class GeneralPath.
PathNodeView Class PathNodeView uses a TextFieldView to input the single line of text needed to define a PathNode.
PlotMark Class PlotMark is a class for drawing a geometric shape or mark at a specified point in a graphics context or for painting a Paintable at such a point.
PlotMarkAlgorithm Class PlotMarkAlgorithm defines the requirements for an algorithm that will produce a scalable shape defined in the neighborhood of a given point.
PlotTool Encapsulates the transform between world and image coordinates for use in plotting data graphs.
PointPaintable A PointPaintable creates a Paintable using a point, a PlotMark, and a Paint.
PolygonDotsShape Class PolygonDotsShape defines a shape that consists of the vertex dots of a polygon.
PolygonShape Class PolygonShape defines a polygon using vertex data.
PropertyChangeAction Encapsulates an action that is performed as a result of a PropertyChangeEvent.
PropertyChangeActionAdapter An adapter class for receiving property change events, and performing action listeners in response to those events.
PropertyChangeActionEvent Class of events representing an action triggered by a property change event.
PropertyChangeForwardingListener A PropertyChangeForwardingListener is a PropertyChangeListener that forwards a PropertyChangeEvent event that it receives to an object that implements the interface SupportsPropertyChange by causing that object to fire the same event to its own listeners.
RadioPanel RadioPanel implements the base panel for matching strings and radio buttons and maintaining the mutual exclusiveness of button selection.
Refresh Class Refresh encapsulates methods for graphics refresh.
RegularShape Class RegularShape provides factory methods to create regular polygons and regular star shapes.
RequestImageViewer Class RequestImageViewer creates a simple GUI to enable a user to specify the parameters for making an ImageViewer; this GUI also provides a button to create the viewer and a button to provide help directions.
RequestWebImageViewer Class RequestWebImageViewer creates a simple GUI to enable a user to specify the parameters for making a WebImageViewer; this GUI also provides a button to create the viewer and a button to provide help directions.
ScrollableDisplay A JPTScrollPane that contains a single Displayable object, and delegates Displayable method calls to its viewport view.
ShapeCapsule A JComponent encapsulating a shape, and acting as its view.
ShapePaintable A ShapePaintable creates an AbstractPaintable using a Shape object and other related data.
SimpleAction A trivial extension of the Java AbstractAction class used to simplify the programming interface for a class representing a GUI action.
SimpleArrayPanel Class SimpleArrayPanel provides a panel that can hold one or more views of a given type with the number of such views under interactive user control.
SimpleDialog Provides only static convenience methods for simple modal dialog box input.
SimpleFunctionBuilder Class SimpleFunctionBuilder builds a panel that combines a SimpleFunctionPane with an ExpressionEvaluationPane so that a user can both interactively define simple functions and then test them in an evaluation scenario immediately.
SimpleFunctionBuilderWithIO Class SimpleFunctionBuilderWithIO builds a panel that combines a SimpleFunctionPaneWithIO with an ExpressionEvaluationPane so that a user can both interactively define simple functions and then test them in an evaluation scenario immediately.
SimpleFunctionPane Class SimpleFunctionPane provides a pane that permits the interactive definition of simple functions, that is, objects of class SimpleFunction.
SimpleFunctionPaneWithIO Class SimpleFunctionPaneWithIO extends SimpleFunctionPane in order to add the facility to save simple function definitions to a file and to read back such definitions from a file.
SimpleThreadedAction SimpleThreadedAction is an abstract class that is a simple extension of the Java AbstractAction class.
SliderView Class SliderView permits the construction of a slider with pixel-level control of the size of the slider track.
StringableFileIO Class StringableFileIO contains methods to load or save the state of a Stringable model object using text file IO.
StringObjectDropdown A view based on JComboBox for the selection of an object using an associated string in a StringObjectMap.
StringObjectRadioPanel A view based on RadioPanel for the selection of an object using an associated string in a StringObjectMap.
StringViewer Class StringViewer provides static tools for viewing a String in a GUI.
SwatchNamePair Class SwatchNamePair provides a component with a paint swatch and its name.
SwatchNameRenderer Class SwatchNameRenderer is designed to implement ListCellRenderer by providing pairs each with a paint swatch and its name.
TableLayout Layout manager effecting a table with an arbitrary number of rows and columns, each with their own width and height.
TablePanel A DisplayPanel designed to use a TableLayout as its layout manager.
Tangent Class Tangent encapsulates an interface Strategy that defines the requirement for a strategy that can automatically use the vertex array and boundary information to generate the tangent array for Bezier curves.
TextAnchor The TextAnchor class defines interfaces that specify how to compute the location and bounds of a String that will be displayed using a given Font in conjunction with a given anchor position.
TextAreaView A TypedView for input of Strings that may represent multiple lines of text.
TextBounds The TextBounds class defines an interface that specifies how to compute accurate bounds for a TextPaintable.
TextFieldView A GeneralView for input of Stringable objects or elements of the data state of a Stringable object.
TextFileIO Class TextFileIO contains methods to read an entire text file into a string and to save a string as the content of a text file.
TextPaintable A TextPaintable creates a Paintable using a string, a font, and other related data.
ThreadedAction An ActionWrapper that performs its encapsulated action in a newly created separate thread.
Tile The class Tile will wrap a Paintable object to obtain to a copy that may be subject to mutation that does not affect the data in the encapsulated paintable.
TileBox The class TileBox will wrap an object by converting it to a Paintable if it is not one already.
Transform1D A 1-dimensional transform class for simple affine scaling and for working with the components of a rectilinear 2-dimensional affine transform.
TransformFactory TransformFactory provides a collection of static methods that construct AffineTransform objects for common 2-dimensional transforms.
TweakableCurve Class TweakableCurve extends TweakableShape and fixes the Path.Strategy to be Path.BEZIER_CUBIC.
TweakableShape Class TweakableShape implements a BaseShape in which the vertex array and the tangent array may be changed independently of one another.
VisualColorList Class VisualColorList displays the named colors as defined in class Colors using a square color swatch and 3 labels with the color name, the RGBA value, and the hex color value.
VisualColorSampler Class VisualColorSampler combines a VisualColorList with a CheckerBoard so that a user can experiment with colors and color contrasts.
VTable Class VTable extends TablePanel to constrain the table to be VERTICAL, that is, to have just one column.
WebImageTools Class WebImageTools is a special purpose class for reading images in various formats from a web site.
WebImageViewer Class WebImageViewer creates an image viewer for files on the web.
WindingRule Class WindingRule encapsulates the two constants from GeneralPath: WIND_NON_ZERO and WIND_EVEN_ODD.
WindowAction Encapsulates an action that is performed as a result of a WindowEvent.
WindowActionAdapter An adapter class for receiving window events and performing actions in response to those events.
WindowActionEvent Class of events representing an action triggered by a window event.
XObjectView View for output of the String representation of the state of an XObject.
Zoo ZooContainer allowing selection and direct manipulation of components.
ZooContainer Abstract superclass for containers used in a Zoo.
ZooGroup Associative collection of components contained within a Zoo.
 

Exception Summary
CancelledException Exception designating that an input operation was cancelled by the user.
 

Package edu.neu.ccs.gui Description

Provides classes and interfaces for designing and implementing graphical interfaces and for the creation of paintable and mutatable objects..

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see: