public class DelegatingStyleGenerator extends AbstractStyleGenerator
Also will it listen to GeneratorListener
events and fire them as
events.
Note that calling dispose on this instance will NOT dispose the currently referenced style generator.
StyleGenerator.GeneratorListener
Constructor and Description |
---|
DelegatingStyleGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
StyleHandler.Style |
generateStyle(StateInformation state) |
protected void |
handleConfigurationChanged() |
protected void |
setStyleGenerator(StyleGenerator generator) |
addListener, fireConfigurationChanged, removeListener
protected void setStyleGenerator(StyleGenerator generator)
protected void handleConfigurationChanged()
public StyleHandler.Style generateStyle(StateInformation state)
public void dispose()