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 |
---|---|
void |
forcePartitionFunction(Function function) |
void |
forceRankingFunction(Function function) |
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 forceRankingFunction(Function function)
void forcePartitionFunction(Function function)
void transform(Function function)
function
- function to transformAppearanceModel getModel()
AppearanceModel getModel(Workspace workspace)
workspace
- workspaceTransformer getTransformer(TransformerUI ui)
ui
- user interface instanceCopyright © 2007–2015 Gephi Consortium. All rights reserved.