public interface IlvRuleCustomizerLogic
In order to customize a rule, the process is as follows:
ilog.views.chart.customizer.IlvChartCSSAdapter
.
This interface allows a uniform view to the predefined rule customizer logics that exist in Rogue Wave JViews Charts. You don't need to create a class that implements this interface. The various predefined internal classes of rule customizer logics of Rogue Wave JViews Charts implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a
PropertyChangeListener to the listener list. |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires an event that a property has changed.
|
IlvComponentCSSAdapter |
getAdapter()
Returns the component css adapter this rule customizer logic belongs to.
|
Collection |
getDependentRules()
Returns the dependent rules that are currently handled by this
rule customizer logic.
|
IlvCSSRule |
getMainRule()
Returns the main rule currently handled by this rule customizer logic.
|
boolean |
match(IlvCSSRule rule)
Returns
true if the rule customizer logic matches a rule. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a
PropertyChangeListener from the listener list. |
void |
setMainRule(IlvCSSRule rule)
Sets the main rule handled by this rule customizer logic.
|
IlvComponentCSSAdapter getAdapter()
void setMainRule(IlvCSSRule rule)
IlvCSSRule getMainRule()
null
if no rule is currently handled by this
rule customizer logic.Collection getDependentRules()
IlvCSSRule
objects.boolean match(IlvCSSRule rule)
true
if the rule customizer logic matches a rule.
This means the rule customizer logic is suitable to customize the rule.void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener
to the listener list.
The listener is registered for all properties.listener
- The PropertyChangeListener
to be added.void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener
from the listener list.listener
- The PropertyChangeListener
to be removed.void firePropertyChange(String propertyName, Object oldValue, Object newValue)
oldValue
and oldValue
are equal and non-null.
rule customizer logics fire a property event "mainRule" if the main rule
has changed.propertyName
- The name of the property that was changed.oldValue
- The old value of the property.newValue
- The new value of the property.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.