Uses of Interface
edu.neu.ccs.gui.Paintable

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
 

Classes in edu.neu.ccs.gui that implement Paintable
 class AbstractPaintable
          The abstract class AbstractPaintable defines objects that implement Paintable.
 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 a Paintable using an image filename or an image URL.
 class MultiLineTextPaintable
          Class MultiLineTextPaintable provides the basic functionality of TextPaintable for text that contains newlines.
 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 PointPaintable
          A PointPaintable creates a Paintable using a point, a PlotMark, and a Paint.
 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.
 class 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.
 class TileBox
          The class TileBox will wrap an object by converting it to a Paintable if it is not one already.
 

Fields in edu.neu.ccs.gui declared as Paintable
protected  Paintable Tile.paintable
          The wrapped paintable.
static Paintable SimpleArrayPanel.insertRowPaintable
          The Paintable to make the "insert one row icon".
static Paintable SimpleArrayPanel.deleteRowPaintable
          The Paintable to make the "delete one row icon".
private  Paintable PlotMark.paintable
          The paintable if used instead of an algorithm.
private  Paintable PaintableComponent.paintable
          The encapsulated paintable that defines this component.
private  Paintable PaintableButton.paintable
          The encapsulated paintable that defines this button.
protected  Paintable LayeredComponent.topmostPaintable
          The paintable used as the topmost object.
protected  Paintable LayeredComponent.tilePaintable
          The paintable used as the tile.
private  Paintable ClippingWrapper.paintable
          The wrapped paintable.
protected  Paintable BufferedPanel.currentPaintable
          The current paintable being dragged.
private  Paintable AbstractPaintable.backgroundTile
          The background tile if any.
 

Methods in edu.neu.ccs.gui that return Paintable
 Paintable Tile.makePaintable(Object o)
          Returns a Paintable constructed from the given Object.
 Paintable Tile.getPaintable()
          Returns the wrapped paintable.
static Paintable SimpleArrayPanel.makeInsertRowPaintable()
          Method to make the Paintable for the "insert row icon".
static Paintable SimpleArrayPanel.makeDeleteRowPaintable()
          Method to make the Paintable for the "delete row icon".
 Paintable PlotMark.getPaintable()
          Returns the internal Paintable or null if a paintable is not used.
static Paintable PaintableTools.wrapPaintable(Paintable object)
          Returns a Paintable that wraps the given object in a Tile object if needed.
 Paintable PaintableSequenceComposite.getInnerBackgroundTile()
          Gets the background tile of the internal paintable sequence.
 Paintable PaintableSequence.makePaintable(Object o)
          Returns a Paintable constructed from the given Object.
 Paintable PaintableSequence.setPaintable(int index, Object o)
          Uses makePaintable to convert the given object to a Paintable and then installs this paintable at the given index in the paintable sequence; the paintable currently at that position in the sequence is replaced.
 Paintable PaintableSequence.setPaintable(Object o, int index)
          This method is equivalent to setPaintable(int, Object) but interchanges the order of the arguments.
 Paintable PaintableSequence.getPaintable(int index)
          Returns the Paintable at the given index in the sequence.
 Paintable PaintableSequence.addPaintable(int index, Object o)
          Uses makePaintable to convert the given object to a Paintable and then inserts this paintable at the given index in the paintable sequence; all current elements in the sequence from that index onward are displaced by one index position.
 Paintable PaintableSequence.addPaintable(Object o, int index)
          This method is equivalent to addPaintable(int, Object) but interchanges the order of the arguments.
 Paintable PaintableSequence.addPaintable(Object o)
          Uses makePaintable to convert the given object to a Paintable and then inserts this paintable at the top-most position in the paintable sequence; all current elements in the sequence are displaced by one index position.
 Paintable PaintableSequence.addPaintableAtTop(Object o)
          This method is equivalent to addPaintable(0, o).
 Paintable PaintableSequence.appendPaintable(Object o)
          Uses makePaintable to convert the given object to a Paintable and then inserts this paintable at the bottom-most position in the paintable sequence.
 Paintable[] PaintableSequence.setSequence(Object[] objects)
          Uses makePaintable to install the given array of objects after suitable conversion into the paintable sequence and removes the existing paintables in the sequence.
 Paintable[] PaintableSequence.addSequence(int index, Object[] objects)
          Uses makePaintable to add the given array of objects after suitable conversion into the paintable sequence starting at the given index; returns the array of paintable objects added.
 Paintable[] PaintableSequence.addSequence(Object[] objects, int index)
          This method is equivalent to addSequence(int, Object) but interchanges the order of the arguments.
 Paintable[] PaintableSequence.addSequence(Object[] objects)
          Uses makePaintable to add the given array of objects after suitable conversion to the top of the paintable sequence.
 Paintable[] PaintableSequence.addSequenceAtTop(Object[] objects)
          This method is equivalent to addSequence(objects).
 Paintable[] PaintableSequence.appendSequence(Object[] objects)
          Uses makePaintable to append the given array of objects after suitable conversion onto the paintable sequence.
 Paintable PaintableSequence.removePaintable(int index)
          Removes the Paintable at the given index in the paintable sequence; all objects in the sequence at higher index positions are displaced to one index position lower; returns the paintable removed.
 Paintable[] PaintableSequence.removeSequence(int m, int n)
          Removes the sequence of paintables starting at the given index m inclusive and ending at the given index n exclusive; returns an array with the paintables removed.
 Paintable[] PaintableSequence.clear()
          Clears all data associated with the paintable sequence and returns an array with the paintables removed.
 Paintable[] PaintableSequence.clearSequence()
          Removes all paintables from this paintable sequence and returns an array with the paintables removed.
 Paintable[] PaintableSequence.clearEverything()
          Clears all data associated with the paintable sequence and returns an array with the paintables removed.
 Paintable[] PaintableSequence.toArray()
          Returns an array with the Paintable items in this paintable sequence.
 Paintable PaintableSequence.hits(double x, double y)
          If the point specified by coordinates is inside one of the items in the PaintableSequence then this method returns the appropriate Paintable object depending on the current Mutator.StrategyUsage setting.
 Paintable PaintableSequence.hits(Point2D p)
          If the point is inside one of the items in the PaintableSequence then this method returns the appropriate Paintable object depending on the current Mutator.StrategyUsage setting.
 Paintable PaintableSequence.hitsItem(double x, double y)
          If the point specified by coordinates is inside one of the items in the PaintableSequence then this method returns the top-most Paintable item that contains the point; otherwise this method returns null.
 Paintable PaintableSequence.hitsItem(Point2D p)
          If the point is inside one of the items in the PaintableSequence then this method returns the top-most Paintable item that contains the point; otherwise this method returns null.
 Paintable PaintableComponent.getPaintable()
          Returns the encapsulated paintable.
 Paintable PaintableButton.getPaintable()
          Returns the encapsulated paintable.
 Paintable Paintable.getBackgroundTile()
          Returns the background tile.
 Paintable LayeredComponent.getTopmostPaintable()
          Gets the topmost background paintable object of this layered component.
 Paintable LayeredComponent.getBackgroundTile()
          Gets the tile paintable object for the middle layer of this layered component.
static Paintable ComponentFactory.makePaintable(Object o)
          Returns a Paintable associated with the given object.
 Paintable ClippingWrapper.getPaintable()
          Returns the wrapped paintable.
 Paintable[] BufferedPanel.clearSequence()
          Clears the internal paintable sequence; returns an array with the paintables removed.
 Paintable[] BufferedPanel.clearPanelAndSequence()
          Fills this buffered panel with its background color or Paint and clears the internal paintable sequence; returns an array with the paintables removed.
 Paintable[] BufferedPanel.clearSequenceData()
          Clears all data in the internal paintable sequence, that is, the sequence paintables, the sequence background paint, and the sequence background tile; returns an array with the paintables removed.
 Paintable[] BufferedPanel.clearPanelAndSequenceData()
          Fills this buffered panel with its background color or Paint and clears all data in the internal paintable sequence, that is, the sequence paintables, the sequence background paint, and the sequence background tile; returns an array with the paintables removed.
 Paintable BufferedPanel.getSequenceBackgroundTile()
          Returns the internal paintable sequence background tile.
 Paintable BufferedPanel.setPaintable(int index, Object o)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.setPaintable(Object o, int index)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.getPaintable(int index)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.addPaintable(int index, Object o)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.addPaintable(Object o, int index)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.addPaintable(Object o)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.addPaintableAtTop(Object o)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.appendPaintable(Object o)
          Calls the corresponding method on the internal paintable sequence.
 Paintable[] BufferedPanel.setSequence(Object[] objects)
          Calls the corresponding method on the internal paintable sequence.
 Paintable[] BufferedPanel.addSequence(int index, Object[] objects)
          Calls the corresponding method on the internal paintable sequence.
 Paintable[] BufferedPanel.addSequence(Object[] objects, int index)
          Calls the corresponding method on the internal paintable sequence.
 Paintable[] BufferedPanel.addSequence(Object[] objects)
          Calls the corresponding method on the internal paintable sequence.
 Paintable[] BufferedPanel.addSequenceAtTop(Object[] objects)
          Calls the corresponding method on the internal paintable sequence.
 Paintable[] BufferedPanel.appendSequence(Object[] objects)
          Calls the corresponding method on the internal paintable sequence.
 Paintable BufferedPanel.removePaintable(int index)
          Calls the corresponding method on the internal paintable sequence.
 Paintable[] BufferedPanel.removeSequence(int m, int n)
          Calls the corresponding method on the internal paintable sequence.
 Paintable AbstractPaintable.getBackgroundTile()
          Returns the background tile.
 

Methods in edu.neu.ccs.gui with parameters of type Paintable
 void SliderView.installObjects(Paintable[] objects)
          Installs the given Paintable objects as decorations in the internal paintable sequence that is associated with objects.
 void PointPaintable.setPlotMark(Paintable paintable)
          Sets the internal plotmark using the given data to call the corresponding PlotMark constructor.
private  void PlotMark.initializePlotMark(PlotMarkAlgorithm algorithm, int size, boolean fill, Paintable paintable)
          The common initialization code for a plot mark.
static Paintable PaintableTools.wrapPaintable(Paintable object)
          Returns a Paintable that wraps the given object in a Tile object if needed.
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)
          Constructs a BufferedImage object that is the same size as the bounding box of the given paintable and then paints the given paintable onto the buffered image with a suitable translation back to the origin.
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.
 int PaintableSequence.getIndex(Paintable paintable)
          Returns the index in the paintable sequence of the given Paintable.
 void PaintableSequence.removePaintable(Paintable paintable)
          Removes the given Paintable from the paintable sequence.
 void PaintableSequence.shiftPaintable(Paintable paintable, int i)
          Shift the given paintable to index i and shift all paintables in between as needed.
 void PaintableSequence.shiftPaintableToTop(Paintable paintable)
          Shift the given paintable to the top and shift other paintables as needed.
 void PaintableSequence.shiftPaintableToBottom(Paintable paintable)
          Shift the given paintable to the bottom and shift other paintables as needed.
 void PaintableSequence.shiftPaintableUp(Paintable paintable)
          Shift the given paintable one index closer to the top and shift other paintables as needed.
 void PaintableSequence.shiftPaintableDown(Paintable paintable)
          Shift the given paintable one index closer to the bottom and shift other paintables as needed.
 void PaintableComponent.setPaintable(Paintable paintable)
          Sets the encapsulated paintable to the given paintable.
 void PaintableButton.setPaintable(Paintable paintable)
          Sets the encapsulated paintable to the given paintable and refreshes the screen.
 void ClippingWrapper.setPaintable(Paintable paintable)
          Sets the paintable to be wrapped.
 int BufferedPanel.getIndex(Paintable paintable)
          Calls the corresponding method on the internal paintable sequence.
 void BufferedPanel.removePaintable(Paintable paintable)
          Calls the corresponding method on the internal paintable sequence.
 

Constructors in edu.neu.ccs.gui with parameters of type Paintable
PlotMark(Paintable paintable)
          Constructs a plot mark using the given paintable.
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).
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.