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.
Function.ArrayArg  
Function.ArrayOfArrayArg  
Function.FourArg  
Function.NoArg  
Function.OneArg  
Function.Point2DArg  
Function.Point2DArrayArg  
Function.ThreeArg  
Function.TwoArg  
Function.TwoArrayArg  
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.
MutatablePaintable MutatablePaintable describes a Paintable that may be mutated using an invertible AffineTransform.
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.
Parameter.ArrayOfArrayParam  
Parameter.ArrayParam  
Parameter.FourParam  
Parameter.OneParam  
Parameter.Point2DArrayParam  
Parameter.Point2DParam  
Parameter.ThreeParam  
Parameter.TwoArrayParam  
Parameter.TwoParam  
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.
AbstractMutatablePaintable The abstract class AbstractMutatablePaintable defines objects that extend AbstractPaintable and implement MutatablePaintable.
AbstractPaintable The abstract class AbstractPaintable defines objects that implement Paintable and SupportsPropertyChange.
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.
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 An abstract TypedView designed for input of an array of a single type of Stringable objects.
AutomaticShape Class AutomaticShape implements a BaseShape in which the tangent array is always computed from the vertex array automatically using a Tangent.Strategy object.
BaseShape Class BaseShape encapsulates a Shape defined using vertex and tangent data.
BooleanView A TypedView for the input of a boolean value.
BufferedPanel A panel that maintains a persistent graphics state by repainting itself from a stored BufferedImage object.
BufferedPanel.Painter Panel that paints the internal BufferedImage that maintains the persistent graphics state of a BufferedPanel.
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.
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.
ColorView A TypedView for the input of a Color that contains a color swatch on the left that displays the selected color and an optional drop down 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 Provides two static methods that take a given object and either (a) construct an appropriate Component or (b) construct an appropriate Icon.
ComponentWrapper Wrapper for a single component that uses a AlignedLayout and faithfully respects minimum, maximum, and preferred sizes.
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.
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 Displayable is a JPanel that recursively propagates Displayable method calls only to contained components that are also Displayable.
DisplayWrapper Wrapper for a single Displayable object that uses a CenterLayout and faithfully respects minimum, maximum, and preferred sizes.
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.
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.
Function Class Function is a collection of interfaces that classify functions that accept and return values of type double according to the number and kind of direct function arguments.
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.
GeneralViewWrapper Wrapper for a GeneralView that uses a CenterLayout and faithfully respects minimum, maximum, and preferred sizes.
Halo A wrapper class for one Object viewed as a Component.
ImageCapsule A JComponent displaying an image.
ImagePaintable An ImagePaintable creates an AbstractPaintable using an image, image icon, filename, or URL.
ImagePaintableLite An ImagePaintableLite creates an AbstractPaintable 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.
InputProperties A property list used to store properties pertaining to input components.
Interval Encapsulates an interval of double precision numbers.
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 An extended JFrame class that allows more flexible window closing operations and automatically resizes to ensure that the contents of the frame are the desired size regardless of frame insets.
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.
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.
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.
MutatableWrapper The class MutatableWrapper will wrap a Paintable object to obtain an object that implements MutatablePaintable and SupportsPropertyChange.
Mutator Class Mutator encapsulates an abstract class Strategy that defines a mutator strategy for general MutatablePaintable 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.
Parameter Class Parameter is a collection of interfaces that classify functions that accept and return values of type double according to the number and kind of auxiliary function parameters.
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.
PlotMark Helper class for drawing geometric shapes or marks at a specified point in a graphics context.
PlotTool Encapsulates the transform between world and image coordinates for use in plotting data graphs.
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.
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.
SimpleDialog Provides only static convenience methods for simple modal dialog box input.
SliderView A TypedView for input of int values in a bounded range using direct manipulation.
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.
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.
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.
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.
TweakableShape Class TweakableShape implements a BaseShape in which the vertex array and the tangent array may be changed independently of one another.
TypedViewWrapper Wrapper for a TypedView that uses a CenterLayout and faithfully respects minimum, maximum, and preferred sizes.
VisualColorList Class VisualColorList displays the named colors as defined in class Colors using a square color swatch and a label.
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: