Chart FX for Java 6.5

SoftwareFX.ChartFX
Class HighlightGridSettings

java.lang.Object
  extended by SoftwareFX.ChartFX.HighlightToolSettings
      extended by SoftwareFX.ChartFX.HighlightGridSettings

public final class HighlightGridSettings
extends HighlightToolSettings

Provides access to the HighlightGridSettings object.

This Class is derived from the HighlightToolSettings Class . The supported members are used specifically when customizing highlighting options for the DataEditor object. For information regarding customizing other chart tools, please refer to the HighlightToolSettings Class .


Constructor Summary
HighlightGridSettings()
           
 
Method Summary
 java.awt.Color getBorderColor()
          Gets the BorderColor.
 java.awt.Color getColor()
          Gets the Color.
 int getDataCells()
          Gets the DataCells.
 int getFontStyle()
          Gets the FontStyle.
 java.awt.Color getTextColor()
          Gets the TextColor.
 boolean isImmediate()
          Gets the Immediate.
 void setBorderColor(java.awt.Color value)
          Gets or sets the BorderColor for the hightlighted point's grid cell in the data editor.
 void setColor(java.awt.Color value)
          Gets or sets the Color for the hightlighted grid cell in the data editor.
 void setDataCells(int value)
          Gets or sets a value indicating the what will be highlighted in the chart when a cell in the DataEditor is highlighted.
 void setFontStyle(int value)
          Gets or sets additional font attributes to a highlighted DataEditor cell.
 void setImmediate(boolean value)
          Gets or sets a value indicating that the highlight action will occur immediately.
 void setTextColor(java.awt.Color value)
          Gets or sets the color for text of a highlighted DataEditor cell.
 
Methods inherited from class SoftwareFX.ChartFX.HighlightToolSettings
isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighlightGridSettings

public HighlightGridSettings()
Method Detail

getBorderColor

public java.awt.Color getBorderColor()

Gets the BorderColor. For more detail see setBorderColor(java.awt.Color).


getColor

public java.awt.Color getColor()

Gets the Color. For more detail see setColor(java.awt.Color).


getDataCells

public int getDataCells()

Gets the DataCells. For more detail see setDataCells(int).


getFontStyle

public int getFontStyle()

Gets the FontStyle. For more detail see setFontStyle(int).


getTextColor

public java.awt.Color getTextColor()

Gets the TextColor. For more detail see setTextColor(java.awt.Color).


isImmediate

public boolean isImmediate()

Gets the Immediate. For more detail see setImmediate(boolean).


setBorderColor

public void setBorderColor(java.awt.Color value)

Gets or sets the BorderColor for the hightlighted point's grid cell in the data editor.

Remarks:
  • This property is used to set a border color for a highlighted cell in the data editor.

  • The HighlightToolSettings.setEnabled(boolean) property must be configured to true in order for the configuration of this property to affect the chart.

  • The setColor(java.awt.Color) property may be used to configure the background color for the highlighted grid cell.

  • See Also:
    HighlightToolSettings.setEnabled(boolean), setColor(java.awt.Color), setDataCells(int), setTextColor(java.awt.Color), HighlightToolSettings

    setColor

    public void setColor(java.awt.Color value)

    Gets or sets the Color for the hightlighted grid cell in the data editor.

    Remarks:
  • This property is used to set the color for a highlighted cell in the data editor.

  • The HighlightToolSettings.setEnabled(boolean) property must be configured to true in order for the configuration of this property to affect the chart.

  • The setBorderColor(java.awt.Color) property may be used to configure the border color for the highlighted grid cell.

  • See Also:
    HighlightToolSettings.setEnabled(boolean), setBorderColor(java.awt.Color), setDataCells(int), setTextColor(java.awt.Color), HighlightToolSettings

    setDataCells

    public void setDataCells(int value)

    Gets or sets a value indicating the what will be highlighted in the chart when a cell in the DataEditor is highlighted.

    Values:
    HighlightData : HighlightData
    ValueDescription
    HighlightData.NONENo chart element will be highlighted.
    HighlightData.AUTOChart FX Automatically used defaults for highlighting.
    HighlightData.MARKEROnly Markers will be highlighted.
    HighlightData.SERIESOnly Series will be highlighted.

    Remarks:
  • Not only will the cells in the DataEditor be highlighted when a series is highlighted in the chart, but if a cell is highlighted in the DataEditor, the series/point will be highlighted in the chart. This property is used to control which chart elements will display the highlighted status within the chart.

  • See Also:
    setBorderColor(java.awt.Color), setColor(java.awt.Color), setTextColor(java.awt.Color)

    setFontStyle

    public void setFontStyle(int value)

    Gets or sets additional font attributes to a highlighted DataEditor cell.

    Values:
    FontStyle : Specifies style information applied to text.
    ValueDescription
    FontStyle.BOLDBold text.
    FontStyle.ITALICItalic text.
    FontStyle.REGULARRegular text.
    FontStyle.STRIKEOUTText with a line through the middle.
    FontStyle.UNDERLINEUnderline text.

    Remarks:
  • The HighlightToolSettings.setEnabled(boolean) property must be configured to true in order for the configuration of this property to affect the chart.

  • The setBorderColor(java.awt.Color) property may be used to configure the border color for the highlighted grid cell.

  • The setColor(java.awt.Color) property may be used to configure the background color for the highlighted grid cell.

  • Use the setDataCells(int) property to control how the chart elements will be displayed with a cell in the DataEditor is highlighted.

  • See Also:
    HighlightToolSettings.setEnabled(boolean), setBorderColor(java.awt.Color), setColor(java.awt.Color), setDataCells(int), setTextColor(java.awt.Color), HighlightToolSettings

    setImmediate

    public void setImmediate(boolean value)

    Gets or sets a value indicating that the highlight action will occur immediately.

    Remarks:
  • When this property is set to true, the highlight action will occur right when a user hovers the mouse cursor over a chart element. The default behavior is a short pause.

  • See Also:
    HighlightSettings

    setTextColor

    public void setTextColor(java.awt.Color value)

    Gets or sets the color for text of a highlighted DataEditor cell.

    Remarks:
  • The setBorderColor(java.awt.Color) property may be used to configure the border color for the highlighted grid cell.

  • The HighlightToolSettings.setEnabled(boolean) property must be configured to true in order for the configuration of this property to affect the chart.

  • The setColor(java.awt.Color) property may be used to configure the background color for the highlighted grid cell.

  • Use the setDataCells(int) property to control how the chart elements will be displayed with a cell in the DataEditor is highlighted.

  • See Also:
    HighlightToolSettings.setEnabled(boolean), setBorderColor(java.awt.Color), setColor(java.awt.Color), setDataCells(int), HighlightToolSettings

    http://www.softwarefx.com

    2007 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.