public abstract class VMDColorScheme
extends java.lang.Object
| Modifier | Constructor | Description |
|---|---|---|
protected |
VMDColorScheme() |
Creates a new vmd color scheme.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract Widget |
createPinCategoryWidget(VMDNodeWidget widget,
java.lang.String categoryDisplayName) |
Called to create a pin-category widget.
|
abstract java.awt.Image |
getMinimizeWidgetImage(VMDNodeWidget widget) |
Returns an minimize-widget image for a specific node widget.
|
abstract int |
getNodeAnchorGap(VMDNodeAnchor anchor) |
Returns a gap size of a node-anchor from a node-widget.
|
abstract void |
installUI(VMDConnectionWidget widget) |
Called to install UI to a connection widget.
|
abstract void |
installUI(VMDNodeWidget widget) |
Called to install UI to a node widget.
|
abstract void |
installUI(VMDPinWidget widget) |
Called to install UI to a pin widget.
|
abstract boolean |
isNodeMinimizeButtonOnRight(VMDNodeWidget widget) |
Returns whether the node minimize button is on the right side of the node header.
|
abstract void |
updateUI(VMDConnectionWidget widget,
ObjectState previousState,
ObjectState state) |
Called to update UI of a connection widget.
|
abstract void |
updateUI(VMDNodeWidget widget,
ObjectState previousState,
ObjectState state) |
Called to update UI of a node widget.
|
abstract void |
updateUI(VMDPinWidget widget,
ObjectState previousState,
ObjectState state) |
Called to update UI of a pin widget.
|
protected VMDColorScheme()
public abstract void installUI(VMDNodeWidget widget)
widget - the node widgetpublic abstract void updateUI(VMDNodeWidget widget, ObjectState previousState, ObjectState state)
widget - the node widgetpreviousState - the previous statestate - the new statepublic abstract boolean isNodeMinimizeButtonOnRight(VMDNodeWidget widget)
widget - the node widgetpublic abstract java.awt.Image getMinimizeWidgetImage(VMDNodeWidget widget)
widget - the node widgetpublic abstract Widget createPinCategoryWidget(VMDNodeWidget widget, java.lang.String categoryDisplayName)
widget - the node widgetcategoryDisplayName - the category display namepublic abstract void installUI(VMDConnectionWidget widget)
widget - the connection widgetpublic abstract void updateUI(VMDConnectionWidget widget, ObjectState previousState, ObjectState state)
widget - the connection widgetpreviousState - the previous statestate - the new statepublic abstract void installUI(VMDPinWidget widget)
widget - the pin widgetpublic abstract void updateUI(VMDPinWidget widget, ObjectState previousState, ObjectState state)
widget - the pin widgetpreviousState - the previous statestate - the new statepublic abstract int getNodeAnchorGap(VMDNodeAnchor anchor)
anchor - the node anchorBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.