Interface IStyle
Defines the interface for style object throughout sciChart.
Namespace:
Assembly: .dll
Syntax
public interface IStyle
Methods
getStyleableObjectType()
Gets the target styleable object type.
Declaration
public abstract Class<?> getStyleableObjectType()
Returns
Type | Description |
---|---|
Class<?> | The target styleable object type. |
tryApplyStyle(Object styleableObject)
Applies this style to specified styleable object.
Declaration
public abstract void tryApplyStyle(Object styleableObject)
Parameters
Type | Name | Description |
---|---|---|
Object | styleableObject | The target styleable object. |
tryDiscardStyle(Object styleableObject)
Discards this style on specified styleable object.
Declaration
public abstract void tryDiscardStyle(Object styleableObject)
Parameters
Type | Name | Description |
---|---|---|
Object | styleableObject | The target styleable object. |