public class Defaults extends Object
GraphProvider.
 Usually the defaults are used to apply the default semantic zoom level, layout and default focus after the
 graph provider was changed.| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_PREFERRED_LAYOUT  | 
static int | 
DEFAULT_SEMANTIC_ZOOM_LEVEL  | 
| Constructor and Description | 
|---|
Defaults()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Criteria> | 
getCriteria()  | 
String | 
getPreferredLayout()  | 
int | 
getSemanticZoomLevel()  | 
Defaults | 
withCriteria(java.util.function.Supplier<List<Criteria>> criteriaSupplier)  | 
Defaults | 
withPreferredLayout(String layout)  | 
Defaults | 
withPreferredLayout(java.util.function.Supplier<String> layoutSupplier)  | 
Defaults | 
withSemanticZoomLevel(int szl)  | 
Defaults | 
withSemanticZoomLevel(java.util.function.Supplier<Integer> szlSupplier)  | 
public static final int DEFAULT_SEMANTIC_ZOOM_LEVEL
public static final String DEFAULT_PREFERRED_LAYOUT
public Defaults withSemanticZoomLevel(java.util.function.Supplier<Integer> szlSupplier)
public Defaults withPreferredLayout(java.util.function.Supplier<String> layoutSupplier)
public Defaults withCriteria(java.util.function.Supplier<List<Criteria>> criteriaSupplier)
public Defaults withSemanticZoomLevel(int szl)
public int getSemanticZoomLevel()
public String getPreferredLayout()
Copyright © 2020. All rights reserved.