public interface AppearanceController
This controller is a singleton and can therefore be found in Lookup:
AppearanceController ac = Lookup.getDefault().lookup(AppearanceController.class);
| Modifier and Type | Method and Description |
|---|---|
AppearanceModel |
getModel()
Returns the appearance model for the current workspace.
|
AppearanceModel |
getModel(Workspace workspace)
Returns the appearance model for the given workspace.
|
Transformer |
getTransformer(TransformerUI ui)
Returns the transformer associated with the given transformer UI.
|
void |
setUseLocalScale(boolean useLocalScale)
Sets whether rankings use a local or a global scale.
|
void |
transform(Function function)
Apply the function's transformer.
|
void setUseLocalScale(boolean useLocalScale)
useLocalScale - true for local, false for
globalvoid transform(Function function)
function - function to transformAppearanceModel getModel()
AppearanceModel getModel(Workspace workspace)
workspace - workspaceTransformer getTransformer(TransformerUI ui)
ui - user interface instanceCopyright © 2007–2017. All rights reserved.