setRelativeXCoordinate

Sets the coordinate considered as the x coordinate of the origin in window coordinates.
E.g. sets the left edge of the actual GraphicCell in pixels.

setRelativeYCoordinate

public void setRelativeYCoordinate(float y)

Sets the coordinate considered as the y coordinate of the origin in window coordinates.
E.g. sets the bottom of the actual GraphicCell in pixels.

getForegroundColor

public byte[] getForegroundColor()

Returns the foreground color of the label.

Returns:

rgb colors represented as byte array

setForegroundColor

public void setForegroundColor(java.awt.Color c)

Sets the color of the characters on the label.

getBackgroundColor

public byte[] getBackgroundColor()

Returns the background color of the label.

Returns:

rgb colors represented as byte array

setBackgroundColor

public void setBackgroundColor(java.awt.Color c)

Sets the background color of the label.

setBackgroundColorMode

public void setBackgroundColorMode(int mode)

Sets the coloring mode of the background. See {#BACKGROUND_MODE_NONE}, {#BACKGROUND_MODE_OWN_COLOR}

Parameters:

mode -

getBorderColor

public byte[] getBorderColor()

Returns the border color of the label.

Returns:

rgb colors represented as byte array

setBorderColor

public void setBorderColor(java.awt.Color c)

Sets the border color of the label. Note the border color modes.

setBorderColorMode

public void setBorderColorMode(int mode)

Sets the coloring mode of the border. See {#BORDER_MODE_NONE}, {#BORDER_MODE_OWN_COLOR},
{#BORDER_MODE_BRIGHTER_FOREGROUND}, {#BORDER_MODE_FOREGROUND_COLOR}

Parameters:

mode -

setLabel2DDrawing

public void setLabel2DDrawing(boolean b)

Sets the drawing mode of the label that can be drawing in plane
or in exact depth. This method is equivalent with setDrawProperty("Label.Draw2D", b);,
but has the real sense when the label ignores the setting of global draw properties.

Parameters:

b -

ignoreDrawProperties

public void ignoreDrawProperties(boolean b)

Sets the label whether it accepts draw properties or not. This can be useful
when some labels are used as notes to the viewer, not in displayable connection
to any component, but independently of other labels. In this case draw properties
of the label can be set directly by the corresponding api functions instead
of setDrawProperty(String, String).