A C D E F G H I K M N O R S T U W

A

Atom - class net.sourceforge.spark.framework.Atom.
The Atom class is a widget type that may contain no other widgets.
Atom(String, String) - Constructor for class net.sourceforge.spark.framework.Atom
Create a new Atom object with the given id.
addCommand(Command) - Method in interface net.sourceforge.spark.framework.CommandHolder
Add a command to this widget to be executed.
addCommand(Command) - Method in class net.sourceforge.spark.framework.Widget
Add a command to this widget to be executed.
addWidget(Widget) - Method in class net.sourceforge.spark.framework.Container
Add a widget to this container.
attach(Observer) - Method in class net.sourceforge.spark.framework.Atom
The observer to be attached.
attach(Observer) - Method in class net.sourceforge.spark.framework.Container
The observer to be attached.
attach(Observer) - Method in interface net.sourceforge.spark.framework.Subject
The observer to be attached.

C

Command - interface net.sourceforge.spark.framework.Command.
Part of the Command design pattern.
CommandHolder - interface net.sourceforge.spark.framework.CommandHolder.
Part of the Command design pattern.
Container - class net.sourceforge.spark.framework.Container.
The Container widget class has the ability to contain other Atom's and/or other Containers.
Container(String, String) - Constructor for class net.sourceforge.spark.framework.Container
Create a new container object with the given id.
createAtom(SVGElement) - Method in class net.sourceforge.spark.helpers.SPARKHelperFactory
Create an Atom based on the given SVG node.
createContainer(SVGElement) - Method in class net.sourceforge.spark.helpers.SPARKHelperFactory
Create a Container based on the given SVG node.
createContents(SVGElement, Container) - Method in interface net.sourceforge.spark.framework.SPARKFactory
Create a Container based on the given SVG node.
createContents(SVGElement, Container) - Method in class net.sourceforge.spark.helpers.SPARKHelperFactory
Create a Container based on the given SVG node.
createWidget(SVGElement) - Method in interface net.sourceforge.spark.framework.SPARKFactory
Create a Widget based on the given SVG node.
createWidget(SVGElement) - Method in class net.sourceforge.spark.helpers.SPARKHelperFactory
Create a Widget based on the given SVG node.

D

decorate(Widget) - Method in class net.sourceforge.spark.helpers.SPARKHelperDecorator
Add special functionality to the given widget.
decorator - Static variable in class net.sourceforge.spark.helpers.SPARKHelperDecorator
 
decorator - Variable in class net.sourceforge.spark.helpers.SPARKHelperFactory
The Decorator used to add specialized functionality to widgets.
deregisterWidget(Widget) - Static method in class net.sourceforge.spark.framework.SPARK
Remove a widget from the global registration list.
deregisterWidgetType(String) - Static method in class net.sourceforge.spark.framework.SPARK
Remove a widget type frome the allowed type list.
detach(Observer) - Method in class net.sourceforge.spark.framework.Atom
The observer to be detached.
detach(Observer) - Method in class net.sourceforge.spark.framework.Container
The observer to be detached.
detach(Observer) - Method in interface net.sourceforge.spark.framework.Subject
The observer to be detached.

E

execute() - Method in interface net.sourceforge.spark.framework.Command
Perform business logic.

F

FACTORY - Static variable in class net.sourceforge.spark.framework.SPARK
The factory used to create new widget instances.
factory - Static variable in class net.sourceforge.spark.helpers.SPARKHelperFactory
The singleton Factory.

G

getFactory() - Static method in class net.sourceforge.spark.framework.SPARK
Get the factory to be used to create new widget instances.
getState() - Method in class net.sourceforge.spark.framework.Widget
Retrieve the state of the widget.

H

handleEvent(Event) - Method in class net.sourceforge.spark.framework.Widget
This method is called whenever an event occurs of the type for which the EventListener interface was registered.
handleKeyboardEvent(SVGEvent) - Static method in class net.sourceforge.spark.framework.SPARK
Pass the given Keyboard Event to the widget with keyboard focus.
handleMouseEvent(SVGEvent) - Static method in class net.sourceforge.spark.framework.SPARK
Pass the given Mouse Event to the widget with mouse focus.

I

ID - Variable in class net.sourceforge.spark.framework.Widget
The widgets unique ID.
init() - Static method in class net.sourceforge.spark.helpers.SPARKHelperDecorator
Create the SPARKHelperDecorator and retreive it.
init() - Static method in class net.sourceforge.spark.helpers.SPARKHelperFactory
Initialize the factory and get the instance.
isWidget(String) - Static method in class net.sourceforge.spark.framework.SPARK
Test to see if a given string defines a currently registered widget type.

K

KEYBOARD_FOCUS - Static variable in class net.sourceforge.spark.framework.SPARK
The widget that currently has the keyboard focus.

M

MOUSE_FOCUS - Static variable in class net.sourceforge.spark.framework.SPARK
The widget that currently has the mouse focus.
m_vpCommands - Variable in class net.sourceforge.spark.framework.Widget
List of Commands that this Widget holds.
m_vpObservers - Variable in class net.sourceforge.spark.framework.Atom
List of this atoms Observers.
m_vpObservers - Variable in class net.sourceforge.spark.framework.Container
List of this atoms Observers.
m_vpWidgets - Variable in class net.sourceforge.spark.framework.Container
List of this atoms Observers.

N

net.sourceforge.spark.framework - package net.sourceforge.spark.framework
 
net.sourceforge.spark.helpers - package net.sourceforge.spark.helpers
 
notifyObservers() - Method in class net.sourceforge.spark.framework.Atom
Notify all observers of the state change.
notifyObservers() - Method in class net.sourceforge.spark.framework.Container
Notify all observers of the state change.

O

Observer - interface net.sourceforge.spark.framework.Observer.
Part of the Observer design pattern.

R

REGISTERED_TYPES - Static variable in class net.sourceforge.spark.framework.SPARK
A list of all valid widget types.
REGISTERED_WIDGETS - Static variable in class net.sourceforge.spark.framework.SPARK
A set of widgets that have been registered globally.
registerWidget(Widget) - Static method in class net.sourceforge.spark.framework.SPARK
Add a widget to the global registration list.
registerWidgetType(String) - Static method in class net.sourceforge.spark.framework.SPARK
Add a widget type to the allowed type list.
releaseKeyboardFocus(Widget) - Static method in class net.sourceforge.spark.framework.SPARK
Release the widget from global keyboard focus only if it has current keyboard focus.
releaseMouseFocus(Widget) - Static method in class net.sourceforge.spark.framework.SPARK
Release the widget from global mouse focus.
removeCommand(Command) - Method in interface net.sourceforge.spark.framework.CommandHolder
Remove a command from this Widget.
removeCommand(Command) - Method in class net.sourceforge.spark.framework.Widget
Remove a command from this Widget.
removeWidget(Widget) - Method in class net.sourceforge.spark.framework.Container
Remove a widget from this container.
requestKeyboardFocus(Widget) - Static method in class net.sourceforge.spark.framework.SPARK
Let a widget request keyboard focus.
requestMouseFocus(Widget) - Static method in class net.sourceforge.spark.framework.SPARK
Let a widget request mouse focus.
runCommands() - Method in class net.sourceforge.spark.framework.Widget
Execute the list of commands that this command hold is holding.

S

SPARK - class net.sourceforge.spark.framework.SPARK.
The SPARK class is an integral part of the framework and the kit.
SPARK() - Constructor for class net.sourceforge.spark.framework.SPARK
This is a singleton, static only class.
SPARKFactory - interface net.sourceforge.spark.framework.SPARKFactory.
The SPARKFactory is a simple interface stud that is used in conjunction with the SPARK class itself.
SPARKHelperDecorator - class net.sourceforge.spark.helpers.SPARKHelperDecorator.
The Decorator is not part of the SPARK Widget framework, but is useful as a helper class for adding widget specific functionality to widgets during their construction phase.
SPARKHelperDecorator() - Constructor for class net.sourceforge.spark.helpers.SPARKHelperDecorator
This is a singleton class.
SPARKHelperFactory - class net.sourceforge.spark.helpers.SPARKHelperFactory.
The SPARKHelperFactory class.
SPARKHelperFactory() - Constructor for class net.sourceforge.spark.helpers.SPARKHelperFactory
This is a singleton class.
Subject - interface net.sourceforge.spark.framework.Subject.
Part of the Observer design pattern.
setDecorator(SPARKHelperDecorator) - Method in class net.sourceforge.spark.helpers.SPARKHelperFactory
Set the decorator for the factory.
setFactory(SPARKFactory) - Static method in class net.sourceforge.spark.framework.SPARK
Set the factory to be used to create new widget instances.
setState(Object) - Method in class net.sourceforge.spark.framework.Widget
Set the state of this widget.

T

TYPE - Variable in class net.sourceforge.spark.framework.Widget
The widgets unique type.

U

update(Subject) - Method in interface net.sourceforge.spark.framework.Observer
Performs an action when notified by this Observers subject(s).

W

Widget - class net.sourceforge.spark.framework.Widget.
The root Widget class type.
Widget(String, String) - Constructor for class net.sourceforge.spark.framework.Widget
Create a new Widget class with the given id.

A C D E F G H I K M N O R S T U W