Class SlidersContainer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----UpdatableComponentImpl
                                   |
                                   +----SlidersContainer

class SlidersContainer
extends UpdatableComponentImpl
Slider container class implemented as an updatable component.

See Also:
UpdatableComponentImpl

Variable Index

 o compSliders
current set of sliders
 o parent
reference to parent applet

Constructor Index

 o SlidersContainer(Game)
Constructs the slider container.

Method Index

 o insets()
Overrides the default insets() method.
 o minimumSize()
Overrides the default minimumSize() method.
 o preferredSize()
Overrides the default preferredSize() method.
 o reset()
Resets the slider container.
 o update()
Self-update method that implements UpdatableComponentIfc.

Variables

 o compSliders
 CompSliders compSliders
current set of sliders

 o parent
 Game parent
reference to parent applet

Constructors

 o SlidersContainer
 SlidersContainer(Game parent)
Constructs the slider container.

Parameters:
parent - reference to the parent applet.

Methods

 o update
 public void update()
Self-update method that implements UpdatableComponentIfc.

Overrides:
update in class UpdatableComponentImpl
See Also:
UpdatableComponentIfc
 o reset
 public void reset()
Resets the slider container. A new set of sliders is generated when color space changes.

 o minimumSize
 public Dimension minimumSize()
Overrides the default minimumSize() method.

Returns:
new Dimension
Overrides:
minimumSize in class Container
 o preferredSize
 public Dimension preferredSize()
Overrides the default preferredSize() method.

Returns:
new Dimension
Overrides:
preferredSize in class Container
 o insets
 public Insets insets()
Overrides the default insets() method.

Returns:
new Insets
Overrides:
insets in class Container