|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Paintable | |
| edu.neu.ccs.gui | Provides classes and interfaces for designing and implementing graphical interfaces and for the creation of paintable and mutatable objects.. |
| Uses of Paintable in edu.neu.ccs.gui |
| Subinterfaces of Paintable in edu.neu.ccs.gui | |
interface |
MutatablePaintable
MutatablePaintable describes a Paintable
that may be mutated using an invertible AffineTransform. |
| Classes in edu.neu.ccs.gui that implement Paintable | |
class |
AbstractMutatablePaintable
The abstract class AbstractMutatablePaintable
defines objects that extend AbstractPaintable
and implement MutatablePaintable. |
class |
AbstractPaintable
The abstract class AbstractPaintable defines objects that
implement Paintable and SupportsPropertyChange. |
class |
ClippingWrapper
The class ClippingWrapper will wrap a Paintable
and a clipping Shape to obtain a Paintable that
clips the original Paintable to the Shape. |
class |
ImagePaintable
An ImagePaintable creates an AbstractPaintable
using an image, image icon, filename, or URL. |
class |
ImagePaintableLite
An ImagePaintableLite creates an AbstractPaintable
using an image filename or an image URL. |
class |
MutatableWrapper
The class MutatableWrapper will wrap a Paintable
object to obtain an object that implements MutatablePaintable
and SupportsPropertyChange. |
class |
PaintableSequence
A PaintableSequence encapsulates a sequence of
Paintable objects. |
class |
PaintableSequenceComposite
The class PaintableSequenceComposite is a base
class for the construction of Paintable classes. |
class |
PaintBar
Class PaintBar implements a Paintable
that paints a one or two dimensional array of disks. |
class |
ShapePaintable
A ShapePaintable creates an AbstractPaintable
using a Shape object and other related data. |
class |
TextPaintable
A TextPaintable creates a Paintable
using a string, a font, and other related data. |
| Methods in edu.neu.ccs.gui that return Paintable | |
Paintable |
PaintableComponent.getPaintable()
Returns the encapsulated paintable. |
Paintable |
PaintableButton.getPaintable()
Returns the encapsulated paintable. |
Paintable |
MutatableWrapper.getPaintable()
Returns the wrapped paintable. |
Paintable |
ClippingWrapper.getPaintable()
Returns the wrapped paintable. |
| Methods in edu.neu.ccs.gui with parameters of type Paintable | |
static MutatablePaintable |
PaintableTools.wrapPaintable(Paintable paintable)
Returns a MutatablePaintable that wraps the given
Paintable. |
static Icon |
PaintableTools.makeIcon(Paintable paintable)
Returns an Icon constructed using the paint operation
and bounds of the given Paintable object. |
static BufferedImage |
PaintableTools.makeBufferedImage(Paintable paintable)
Returns a BufferedImage whose size equals the size of
the bounds rectangle of the given paintable and whose contents have
been determined by one execution of the paint method
on the graphics context of the BufferedImage. |
static TexturePaint |
PaintableTools.makeTexturePaint(Paintable paintable)
Returns a TexturePaint whose BufferedImage
is constructed using the method makeBufferedImage and
whose anchor rectangle is the bounds rectangle of the given paintable. |
static JButton |
PaintableTools.makeButton(Paintable paintable)
Returns a JButton using
the given Paintable to construct the button icon,
no specified action for the button behavior,
the Java default background color,
and insets of 2, 2, 2, 2. |
static JButton |
PaintableTools.makeButton(Paintable paintable,
Action action)
Returns a JButton using
the given Paintable to construct the button icon,
the given Action for the button behavior,
the Java default background color,
and insets of 2, 2, 2, 2. |
static JButton |
PaintableTools.makeButton(Paintable paintable,
Action action,
Color color)
Returns a JButton using
the given Paintable to construct the button icon,
the given Action for the button behavior,
the given background color,
and insets of 2, 2, 2, 2. |
static JButton |
PaintableTools.makeButton(Paintable paintable,
Action action,
Color color,
Insets insets)
Returns a JButton using
the given Paintable to construct the button icon,
the given Action for the button behavior,
the given background color,
and the given insets. |
static JPTComponent |
PaintableTools.makeComponent(Paintable paintable)
Returns a JPTComponent using the given
Paintable to define its location and paint
behavior. |
static JPTComponent |
PaintableTools.makeComponent(Paintable paintable,
Color color)
Returns a JPTComponent using the given
Paintable to define its location and paint
behavior
and the optional background color. |
static JPTComponent |
PaintableTools.makeComponent(Paintable paintable,
Color color,
boolean opaque)
Returns a JPTComponent using the given
Paintable to define its location and paint
behavior,
the optional background color,
and the opacity setting. |
static JPTComponent |
PaintableTools.makeComponent(Paintable paintable,
Color color,
boolean opaque,
Border border)
Returns a JPTComponent using the given
Paintable to define its location and paint
behavior,
the optional background color,
the opacity setting,
and the component border. |
void |
PaintableSequence.setSequence(Paintable[] paintables)
Installs the given array of Paintable objects into the
paintable sequence and removes the existing objects in the sequence. |
void |
PaintableSequence.appendSequence(Paintable[] paintables)
Appends the given array of Paintable objects to the end
of the paintable sequence. |
void |
PaintableSequence.setPaintable(int index,
Paintable paintable)
Installs a Paintable as a MutatablePaintable
at the given index in the paintable sequence. |
void |
PaintableSequence.addPaintable(int index,
Paintable paintable)
Installs a Paintable as a MutatablePaintable
at the given index in the paintable sequence. |
void |
PaintableSequence.addPaintableAtTop(Paintable paintable)
Installs a Paintable as a MutatablePaintable
at the topmost position of the paintable sequence (index 0). |
void |
PaintableSequence.appendPaintable(Paintable paintable)
Appends a Paintable as a MutatablePaintable
at the end of the paintable sequence. |
protected MutatablePaintable |
PaintableSequence.wrapPaintable(Paintable paintable)
By default, this method returns the result of applying the method PaintableTools.wrapPaintable. |
void |
PaintableComponent.setPaintable(Paintable paintable)
Sets the encapsulated paintable to the given paintable and refreshes the screen provided the component is installed in a GUI. |
void |
PaintableButton.setPaintable(Paintable paintable)
Sets the encapsulated paintable to the given paintable and refreshes the screen provided the button is installed in a GUI. |
void |
MutatableWrapper.setPaintable(Paintable paintable)
Sets the paintable to be wrapped. |
void |
ClippingWrapper.setPaintable(Paintable paintable)
Sets the paintable to be wrapped. |
| Constructors in edu.neu.ccs.gui with parameters of type Paintable | |
PaintableSequence(Paintable[] paintables)
The constructor that sets up the paintable sequence using an initial array of Paintable objects. |
|
PaintableSequence(Paintable[] paintables,
Mutator.StrategyUsage usage)
The constructor that sets up the paintable sequence using an initial array of Paintable objects
and the given choice of mutator strategy usage. |
|
PaintableComponent(Paintable paintable)
This constructor provides the paintable needed to define the component. |
|
PaintableComponent(Paintable paintable,
Color color)
This constructor provides the paintable needed to define the component, and the optional background color. |
|
PaintableComponent(Paintable paintable,
Color color,
boolean opaque)
This constructor provides the paintable needed to define the component, the optional background color, and the opacity setting. |
|
PaintableComponent(Paintable paintable,
Color color,
boolean opaque,
Border border)
This constructor provides the paintable needed to define the component, the optional background color, the opacity setting, and the component border. |
|
PaintableButton(Paintable paintable)
This constructor provides the paintable needed to define the button. |
|
PaintableButton(Paintable paintable,
Action action)
This constructor provides the paintable needed to define the button, and the action for the button behavior. |
|
PaintableButton(Paintable paintable,
Action action,
Color color)
This constructor provides the paintable needed to define the button, the action for the button behavior and the optional background color. |
|
PaintableButton(Paintable paintable,
Action action,
Color color,
Insets insets)
This constructor provides the paintable needed to define the button, the action for the button behavior the optional background color, and the button insets (margin). |
|
MutatableWrapper(Paintable paintable)
The constructor to specify the paintable to be wrapped. |
|
MutatableWrapper(Paintable paintable,
AffineTransform mutator)
The constructor to specify the paintable to be wrapped and the initial mutator. |
|
ClippingWrapper(Paintable paintable)
The constructor to specify the paintable to be wrapped. |
|
ClippingWrapper(Paintable paintable,
Shape clippingshape)
The constructor to specify the paintable to be wrapped and the clipping shape. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||