org.eclipse.birt.chart.util
Class TriggerSupportMatrix

java.lang.Object
  extended byorg.eclipse.birt.chart.util.TriggerSupportMatrix

public class TriggerSupportMatrix
extends java.lang.Object

Provides a utility class to check supported Trigger combination of condition event and action type.


Field Summary
static int TYPE_AXIS
           
static int TYPE_CHARTAREA
           
static int TYPE_CHARTTITLE
           
static int TYPE_DATAPOINT
           
static int TYPE_LEGEND
           
static int TYPE_MARKERLINE
           
static int TYPE_MARKERRANGE
           
 
Constructor Summary
TriggerSupportMatrix(java.lang.String outputFormat, int iType)
          Constructor.
 
Method Summary
 boolean check(Trigger trigger)
          Checks the trigger combination of condition and action type is supported in current renderer.
 boolean check(TriggerCondition condition, ActionType actionType)
          Checks the trigger combination of condition and action type is supported in current renderer.
 java.lang.String[] getSupportedActionsDisplayName(TriggerCondition condition)
          Gets supported Action types according to current trigger condition.
 int getType()
          Returns the interactivity type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_DATAPOINT

public static final int TYPE_DATAPOINT
See Also:
Constant Field Values

TYPE_CHARTTITLE

public static final int TYPE_CHARTTITLE
See Also:
Constant Field Values

TYPE_CHARTAREA

public static final int TYPE_CHARTAREA
See Also:
Constant Field Values

TYPE_AXIS

public static final int TYPE_AXIS
See Also:
Constant Field Values

TYPE_LEGEND

public static final int TYPE_LEGEND
See Also:
Constant Field Values

TYPE_MARKERLINE

public static final int TYPE_MARKERLINE
See Also:
Constant Field Values

TYPE_MARKERRANGE

public static final int TYPE_MARKERRANGE
See Also:
Constant Field Values
Constructor Detail

TriggerSupportMatrix

public TriggerSupportMatrix(java.lang.String outputFormat,
                            int iType)
Constructor.

Parameters:
outputFormat - output type of chart renderer
iType - the type of interactivity support
Method Detail

getType

public int getType()
Returns the interactivity type

Returns:
interactivity type

getSupportedActionsDisplayName

public java.lang.String[] getSupportedActionsDisplayName(TriggerCondition condition)
Gets supported Action types according to current trigger condition.

Parameters:
condition - event condition
Returns:
a string array of supported action type display names

check

public boolean check(Trigger trigger)
Checks the trigger combination of condition and action type is supported in current renderer.

Parameters:
trigger -
Returns:

check

public boolean check(TriggerCondition condition,
                     ActionType actionType)
Checks the trigger combination of condition and action type is supported in current renderer.

Parameters:
condition -
actionType -
Returns:


Copyright © 2005-2007 Actuate Corp. All rights reserved.