Class CompRGBCube
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----UpdatableComponentImpl
|
+----CompRGBCube
- class CompRGBCube
- extends UpdatableComponentImpl
This class produces an updatable component containing the RGB cube.
- See Also:
- RGBCube, UpdatableComponentImpl
-
cube
- RGB cube
-
CompRGBCube(FrameRGB)
- Constructs a component with the RGB cube.
-
minimumSize()
- Overrides the default minimumSize() method.
-
preferredSize()
- Overrides the default preferredSize() method.
-
update()
- Self-update method that implements UpdatableComponentIfc.
cube
RGBCube cube
- RGB cube
CompRGBCube
public CompRGBCube(FrameRGB parent)
- Constructs a component with the RGB cube.
- Parameters:
- parent - reference to the parent frame.
update
public void update()
- Self-update method that implements UpdatableComponentIfc.
- Overrides:
- update in class UpdatableComponentImpl
- See Also:
- UpdatableComponentIfc
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