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
-
compSliders
- current set of sliders
-
parent
- reference to parent applet
-
SlidersContainer(Game)
- Constructs the slider container.
-
insets()
- Overrides the default insets() method.
-
minimumSize()
- Overrides the default minimumSize() method.
-
preferredSize()
- Overrides the default preferredSize() method.
-
reset()
- Resets the slider container.
-
update()
- Self-update method that implements UpdatableComponentIfc.
compSliders
CompSliders compSliders
- current set of sliders
parent
Game parent
- reference to parent applet
SlidersContainer
SlidersContainer(Game parent)
- Constructs the slider container.
- Parameters:
- parent - reference to the parent applet.
update
public void update()
- Self-update method that implements UpdatableComponentIfc.
- Overrides:
- update in class UpdatableComponentImpl
- See Also:
- UpdatableComponentIfc
reset
public void reset()
- Resets the slider container. A new set of sliders is
generated when color space changes.
minimumSize
public Dimension minimumSize()
- Overrides the default minimumSize() method.
- Returns:
- new Dimension
- Overrides:
- minimumSize in class Container
preferredSize
public Dimension preferredSize()
- Overrides the default preferredSize() method.
- Returns:
- new Dimension
- Overrides:
- preferredSize in class Container
insets
public Insets insets()
- Overrides the default insets() method.
- Returns:
- new Insets
- Overrides:
- insets in class Container