| Modifier and Type | Field and Description |
|---|---|
| private CompoundCoords | |
| private CachingCompoundImage | |
| private Coords | |
| private boolean | |
| private float | |
| private Image | |
| private ViewPort | |
| pack-priv static final int | |
| private boolean | |
| private ViewPort | |
| private float | |
| private float | |
| private float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected RectBounds | computeOpaqueRegion(RectBounds opaqueRegion)
Overrides com. Computes and returns the opaque region for this node. |
| protected void | doRender(Graphics g)
Overrides com. Invoked only by the final render method. |
| protected boolean | hasOpaqueRegion()
Overrides com. Called only on NGNode subclasses which override |
| protected boolean | |
| private void | |
| private int | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected boolean | supportsOpaqueRegions()
Overrides com. Gets whether this NGNode supports opaque regions at all. |
| compoundCoords | back to summary |
|---|---|
| private CompoundCoords compoundCoords | |
| compoundImage | back to summary |
|---|---|
| private CachingCompoundImage compoundImage | |
| coords | back to summary |
|---|---|
| private Coords coords | |
| coordsOK | back to summary |
|---|---|
| private boolean coordsOK | |
| h | back to summary |
|---|---|
| private float h | |
| image | back to summary |
|---|---|
| private Image image | |
| imgviewport | back to summary |
|---|---|
| private ViewPort imgviewport | |
| MAX_SIZE_OVERRIDE | back to summary |
|---|---|
| pack-priv static final int MAX_SIZE_OVERRIDE | |
| renderable | back to summary |
|---|---|
| private boolean renderable | |
| reqviewport | back to summary |
|---|---|
| private ViewPort reqviewport | |
| w | back to summary |
|---|---|
| private float w | |
| x | back to summary |
|---|---|
| private float x | |
| y | back to summary |
|---|---|
| private float y | |
| NGImageView | back to summary |
|---|---|
| public NGImageView() | |
| calculatePositionAndClipping | back to summary |
|---|---|
| private void calculatePositionAndClipping() | |
| computeOpaqueRegion | back to summary |
|---|---|
| protected RectBounds computeOpaqueRegion(RectBounds opaqueRegion) Overrides com. Doc from com. Computes and returns the opaque region for this node. This method
| |
| doRender | back to summary |
|---|---|
| protected void doRender(Graphics g) Overrides com. Doc from com. Invoked only by the final render method. Implementations of this method should make sure to save & restore the transform state.
| |
| hasOpaqueRegion | back to summary |
|---|---|
| protected boolean hasOpaqueRegion() Overrides com. Doc from com. Called only on NGNode subclasses which override
| |
| hasOverlappingContents | back to summary |
|---|---|
| protected boolean hasOverlappingContents() Implements abstract com.
| |
| invalidate | back to summary |
|---|---|
| private void invalidate() | |
| maxSizeWrapper | back to summary |
|---|---|
| private int maxSizeWrapper(ResourceFactory factory) | |
| renderContent | back to summary |
|---|---|
| protected void renderContent(Graphics g) Implements abstract com.
| |
| setImage | back to summary |
|---|---|
| public void setImage(Object img) | |
| setSmooth | back to summary |
|---|---|
| public void setSmooth(boolean s) | |
| setViewport | back to summary |
|---|---|
| public void setViewport(float vx, float vy, float vw, float vh, float cw, float ch) | |
| setX | back to summary |
|---|---|
| public void setX(float x) | |
| setY | back to summary |
|---|---|
| public void setY(float y) | |
| supportsOpaqueRegions | back to summary |
|---|---|
| protected boolean supportsOpaqueRegions() Overrides com. Doc from com. Gets whether this NGNode supports opaque regions at all. Most node types do not, but some do. If an NGNode subclass is written to support opaque regions, it must override this method to return true. The subclass must then also override the computeDirtyRegion method to return the dirty region, or null if the node in its current state doesn't have one. This method is intended to be immutable.
| |