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(SlateModelListener) - Method in class DefaultSlateModel
Add listener interested in changes in the changes model.
addSlateModelListener(SlateModelListener) - 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.
getPreferredSize(JComponent) - Method in class SlateUI
 
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 SlateUI
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(SlateModelListener) - Method in class DefaultSlateModel
Remove a previously added listener.
removeSlateModelListener(SlateModelListener) - Method in interface SlateModel
Remove a previously added listener.

S

Slate - class Slate.
A view for SlateModel.
Slate() - Constructor for class Slate
Construct slate associating it with the 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(SlateModelEvent) - Method in class Slate
Implement the method in SlateModelListener interface.
slateChanged(SlateModelEvent) - Method in interface SlateModelListener
Notification that a change has occured in model
SlateModel - interface SlateModel.
Model interface for managing repository of shapes.
SlateModelEvent - class SlateModelEvent.
Event class for communicating changes in model of type SlateModel to its listeners of type SlateModelListener.
SlateModelEvent(SlateModel) - Constructor for class SlateModelEvent
Constructor for the event.
SlateModelListener - interface SlateModelListener.
Interface for listening to changes in model of type SlateModel.
SlateUI - class SlateUI.
UI delegate for Slate component.
SlateUI() - Constructor for class SlateUI
 

A D G M P R S