A D G M P R S

A

addShape(Shape) - Method in class DefaultSlateModel
Add shape to the model.
addShape(Shape) - Method in interface SlateModel
Add shape to the model.
addSlateModelListener(SlateModel.Listener) - Method in class DefaultSlateModel
Add listener interested in changes in the changes model.
addSlateModelListener(SlateModel.Listener) - Method in interface SlateModel
Add listener interested in changes in the changes model.

D

DefaultSlateModel - class DefaultSlateModel.
A simple, vector based implementation of SlateModel interface.
DefaultSlateModel() - Constructor for class DefaultSlateModel
 

G

getModel() - Method in class Slate
Get the associated model with this view.
getShapeAtIndex(int) - Method in class DefaultSlateModel
Get the shape at given index
getShapeAtIndex(int) - Method in interface SlateModel
Get the shape at given index
getShapeCount() - Method in class DefaultSlateModel
Get the count of shape in the model
getShapeCount() - Method in interface SlateModel
Get the count of shape in the model.

M

main(String[]) - Static method in class SlateApp
Start the application

P

paint(Graphics, JComponent) - Method in class Slate.UI
Override paint in ComponentUI.

R

removeAllShapes() - Method in class DefaultSlateModel
Remove all the shapes from model
removeAllShapes() - Method in interface SlateModel
Remove all the shapes from model.
removeShape(Shape) - Method in class DefaultSlateModel
Remove shape from model
removeShape(Shape) - Method in interface SlateModel
Remove shape from model
removeSlateModelListener(SlateModel.Listener) - Method in class DefaultSlateModel
Remove a previously added listener.
removeSlateModelListener(SlateModel.Listener) - Method in interface SlateModel
Remove a previously added listener.

S

Slate - class Slate.
A view for SlateModel.
Slate.UI - class Slate.UI.
Nested class with the role of UI delegate for Slate component.
Slate.UI() - Constructor for class Slate.UI
 
Slate() - Constructor for class Slate
Construct slate associating it with default model implementation.
Slate(SlateModel) - Constructor for class Slate
Construct slate for given model.
SlateApp - class SlateApp.
Simple test application for the Slate component.
slateChanged(SlateModel.Event) - Method in class Slate
Implement the method in SlateModel.Listener interface.
slateChanged(SlateModel.Event) - Method in interface SlateModel.Listener
Notification that a change has occured in model
SlateModel - interface SlateModel.
Model interface for managing repository of shapes.
SlateModel.Event - class SlateModel.Event.
Nested event class for communicating changes in the model of enclosing type SlateModel to its listeners of type SlateModel.Listener.
SlateModel.Event(SlateModel) - Constructor for class SlateModel.Event
Constructor for the event.
SlateModel.Listener - interface SlateModel.Listener.
Nested interface for listening to changes in model of the enclosing type, SlateModel.

A D G M P R S