com.sun.scenario.scenegraph
Class SGEffect
java.lang.Object
com.sun.scenario.scenegraph.SGNode
com.sun.scenario.scenegraph.SGParent
com.sun.scenario.scenegraph.SGFilter
com.sun.scenario.scenegraph.SGEffect
public class SGEffect
- extends SGFilter
| Methods inherited from class com.sun.scenario.scenegraph.SGNode |
addFocusListener, addKeyListener, addMouseListener, addNodeListener, contains, getAttribute, getBounds, getCursor, getID, getPanel, getParent, globalToLocal, isMouseBlocker, isVisible, localToGlobal, pick, putAttribute, removeFocusListener, removeKeyListener, removeMouseListener, removeNodeListener, render, requestFocus, setCursor, setID, setMouseBlocker, setVisible, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SGEffect
public SGEffect()
getEffect
public Effect getEffect()
setEffect
public void setEffect(Effect effect)
getBounds
public java.awt.geom.Rectangle2D getBounds(java.awt.geom.AffineTransform xform)
- Description copied from class:
SGNode
- Returns the bounding box of this node relative to the specified
coordinate space.
- Overrides:
getBounds in class SGFilter
- Parameters:
xform - the transform applied to the geometry
canSkipRendering
public boolean canSkipRendering()
- Overrides:
canSkipRendering in class SGFilter
canExpandBounds
public boolean canExpandBounds()
- Returns true if the bounds of this filter node are (potentially)
larger than the bounds of its child, false otherwise.
- Overrides:
canExpandBounds in class SGFilter
- Returns:
- whether the bounds of this node expand outside the child bounds
needsSourceContent
public int needsSourceContent()
- Overrides:
needsSourceContent in class SGFilter
setupRenderGraphics
public void setupRenderGraphics(java.awt.Graphics2D g)
- Overrides:
setupRenderGraphics in class SGFilter
renderFinalImage
public void renderFinalImage(java.awt.Graphics2D g,
SGSourceContent srcContent)
- Overrides:
renderFinalImage in class SGFilter