public class AttributeStyleWidget extends GlassPaneWidget implements MinSizeInterface
| Red (ahuseyno) |
| Red (ahuseyno) |
_componentWidget, _containerPanel, _glassPane, _layeredPane| Constructor and Description |
|---|
AttributeStyleWidget(org.netbeans.api.visual.widget.Scene scene,
PositionableElement element)
Create a new instance visualizing the positionable element based on its style definitions.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getMinHeight()
Return minimal height which is the preferred height of the widget if it's defined.
|
java.lang.Integer |
getMinWidth()
Return minimal width which is the preferred width of the widget if it's defined.
|
void |
updateValue()
Update the value of the widget based on the attributes expression (if applicable).
|
place, setGlassPaneSizegetPositionableElementaddChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResourcespublic AttributeStyleWidget(org.netbeans.api.visual.widget.Scene scene,
PositionableElement element)
throws IllegalActionException
scene - The scene containing the widget.element - The element to visualize.IllegalActionException - if there is a problem parsing attribute's style.public void updateValue()
throws IllegalActionException
IllegalActionException - if there is a problem parsing the attribute's expression.public java.lang.Integer getMinWidth()
getMinWidth in interface MinSizeInterfacepublic java.lang.Integer getMinHeight()
getMinHeight in interface MinSizeInterface