| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.hierarchy.GroupNodePainter.GroupStateStyle
public static final class GroupNodePainter.GroupStateStyle
A GroupStateStyle provides opacity information for painting
 group state icons. Styles have to be registered as
 GenericNodeRealizer style properties for key
 GroupNodePainter.GROUP_STATE_STYLE_ID.
 
 Serialization note: Style properties registered for key
 GroupNodePainter.GROUP_STATE_STYLE_ID are considered
 transient and will not be serialized.
 
| Constructor Summary | |
|---|---|
| GroupNodePainter.GroupStateStyle() | |
| Method Summary | |
|---|---|
|  float | getOpacity()Returns the state icon's desired opacity value. | 
|  void | setOpacity(float opacity)Specifies the state icon's desired opacity value. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public GroupNodePainter.GroupStateStyle()
| Method Detail | 
|---|
public float getOpacity()
0 means completely transparent,
 1 means completely opaque.
[0,1].setOpacity(float)public void setOpacity(float opacity)
0 means completely transparent,
 1 means completely opaque.
 Values less than 0 will be treated as 0,
 values greater than 1 will be treated as 1.
opacity - a value in [0,1].getOpacity()| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||