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

Variable Index

 o lx
label for X
 o ly
label for Y
 o lz
label for Z
 o xyz
reference to the RGB-XYZ converter

Constructor Index

 o LabelXYZ(XYZSet)
Constructs a set of XYZ labels.

Method Index

 o insets()
Overrides the default insets() method.
 o minimumSize()
Overrides the default minimumSize() method.
 o preferredSize()
Overrides the default preferredSize() method.
 o update()
Updates the labels.

Variables

 o lx
 Label lx
label for X

 o ly
 Label ly
label for Y

 o lz
 Label lz
label for Z

 o xyz
 XYZSet xyz
reference to the RGB-XYZ converter

Constructors

 o LabelXYZ
 public LabelXYZ(XYZSet _xyz)
Constructs a set of XYZ labels.

Parameters:
xyz - reference to the RGB-XYZ converter.

Methods

 o update
 public void update()
Updates the labels.

 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