Class LabelXYZ
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----LabelXYZ
- class LabelXYZ
- extends Panel
This class produces a set of three labels for the computed XYZ values.
- See Also:
- XYZSet
-
lx
- label for X
-
ly
- label for Y
-
lz
- label for Z
-
xyz
- reference to the RGB-XYZ converter
-
LabelXYZ(XYZSet)
- Constructs a set of XYZ labels.
-
insets()
- Overrides the default insets() method.
-
minimumSize()
- Overrides the default minimumSize() method.
-
preferredSize()
- Overrides the default preferredSize() method.
-
update()
- Updates the labels.
lx
Label lx
- label for X
ly
Label ly
- label for Y
lz
Label lz
- label for Z
xyz
XYZSet xyz
- reference to the RGB-XYZ converter
LabelXYZ
public LabelXYZ(XYZSet _xyz)
- Constructs a set of XYZ labels.
- Parameters:
- xyz - reference to the RGB-XYZ converter.
update
public void update()
- Updates the labels.
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