|
org.netbeans.api.visual 2.17.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.vmd.VMDColorScheme
public abstract class VMDColorScheme
This class specifies look and feel of vmd widgets. There are predefined schemes in VMDFactory class.
| Constructor Summary | |
|---|---|
protected |
VMDColorScheme()
Creates a new vmd color scheme. |
| Method Summary | |
|---|---|
abstract Widget |
createPinCategoryWidget(VMDNodeWidget widget,
String categoryDisplayName)
Called to create a pin-category widget. |
abstract 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected VMDColorScheme()
| Method Detail |
|---|
public abstract void installUI(VMDNodeWidget widget)
widget - the node widget
public 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 widget
public abstract Image getMinimizeWidgetImage(VMDNodeWidget widget)
widget - the node widget
public abstract Widget createPinCategoryWidget(VMDNodeWidget widget,
String categoryDisplayName)
widget - the node widgetcategoryDisplayName - the category display name
public abstract void installUI(VMDConnectionWidget widget)
widget - the connection widget
public 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 widget
public 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 anchor
|
org.netbeans.api.visual 2.17.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||