Accessible
, org.openide.util.Lookup.Provider
public class LayerWidget extends Widget
It can be used widgets organization. A scene usually has layer widgets directly underneath. E.g. each layer widget is used different purpose: background for widgets on background, main layer for node widgets, connection layer for edge widgets, interraction layer for temporary widgets created/used by actions.
Widget.Dependency
Constructor | Description |
---|---|
LayerWidget(Scene scene) |
Creates a layer widget.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isHitAt(Point localLocation) |
Returns whether a specified local location is part of the layer widget.
|
protected boolean |
isRepaintRequiredForRevalidating() |
Returns whether the layer widget requires to repainted after revalidation.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addChild, 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, isOpaque, isPreferredBoundsSet, 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, updateResources
public LayerWidget(Scene scene)
scene
- the scenepublic boolean isHitAt(Point localLocation)
protected boolean isRepaintRequiredForRevalidating()
isRepaintRequiredForRevalidating
in class Widget
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.