public class NamedObjectImageWidget extends ResizableImageWidget implements NamedObjectWidgetInterface
Red (ahuseyno) |
Red (ahuseyno) |
_observer
Constructor and Description |
---|
NamedObjectImageWidget(org.netbeans.api.visual.widget.Scene scene,
PositionableElement element,
java.net.URL imageURL)
Create a new instance of the widget.
|
Modifier and Type | Method and Description |
---|---|
PositionableElement |
getPositionableElement()
Return positionable element that the instance is visualizing.
|
calculateClientArea, getImage, isPaintAsDisabled, paintWidget, setImage, setPaintAsDisabled
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, 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, 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, updateResources
public NamedObjectImageWidget(org.netbeans.api.visual.widget.Scene scene, PositionableElement element, java.net.URL imageURL)
scene
- The scene containing the widget.element
- The element to visualize.imageURL
- The url of the image.public PositionableElement getPositionableElement()
getPositionableElement
in interface NamedObjectWidgetInterface