|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
BufferedImageOpEffectAbstractBufferedLayerUI paitns the JXLayer
to the BufferedImage and then paints this image to the Graphics
passed to its paint method.LayerEffect interface.AbstractLayerUI provided default implementation for most
of the abstract methods in the LayerUI class.JXLayer
and always throws UnsupportedOperationException
LayerItemListener to the layer item.
LayerItemListener to the layer item.
BufferedImage.
Filters the passed image using clip and
BufferedImageOps provided by AbstractBufferedImageOpEffect.getBufferedImageOps()
BufferedImage.
LayerEffects
and applies each enabled one to the buffer.
Effect uses BufferedImageOp to filter the passed
BufferedImageOp.ImageEffect
with the specified array of BufferedImageOp.
BufferedLayerUI is the mutable implementation of
the AbstractBufferedLayerUI class.AbstractLayerUI.paint(java.awt.Graphics, javax.swing.JComponent) method prior to
any drawing operations to configure the Graphics2D object.
BufferedImage to be used as the cached image.
glassPane.
DebugRepaintingUI provides a visual indication
of repainting JXLayers subcomponents.DebugRepaintingUI
with 50 milliseconds set for the animation timer between-event delay.
DebugRepaintingUI
with the specified time set for the animation timer between-event delay.
AWTEvents for JXLayer
and all it subcomponents to this LayerUI.
This method calls the appropriate
process<eventType>Event
method for the given class of event.
AWTEvents for JXLayer
and all it subcomponents to this LayerUI.
To enable the AWTEvent of particular type,
you should call JXLayer.setLayerEventMask(long)
in LayerUI.installUI(javax.swing.JComponent)
and set the layer event mask to 0
in LayerUI.uninstallUI(javax.swing.JComponent) after that
process<eventType>Event
method for the given class of event.
Preprocesses the AWTEvent to deactivate mouse scrolling
when any key was pressed or focus left the JXLayer.
AWTEvents for JXLayer
and all it subcomponents to this LayerUI.
PropertyChangeListeners
that have been added to this object.
BufferedLayerUI.getComposite() returns an instanse of AlphaComposite
then this method returns the value of AlphaComposite.getAlpha(),
otherwise it returns 1.
BufferedImageOps
specified for this LayerEffect.
BufferedImageOps
specified for this LayerEffect.
Shape to be used as the clip during painting of this JXLayer,
the default implementation returns null.
Shape to be applied to the Graphics2D
during painting of this BufferedLayerUI.
Shape to be used as the clip during painting of this JXLayer,
the default implementation returns null.
This implementation returns the Shape
set using BufferedLayerUI.setClip(Shape)}
If a BufferedLayerUI provides more extensive API
to support different clipping shapes depending on its state
or on the state of the passed JXLayer,
this method should be overridden.
Composite to be used during painting of this JXLayer,
the default implementation returns null.
Composite to be applied to the Graphics2D
during painting of this BufferedLayerUI.
Composite to be used during painting of this JXLayer,
the default implementation returns null.
This implementation returns the Composite
set using BufferedLayerUI.setComposite(Composite)
If a BufferedLayerUI provides more extensive API
to support different Composites depending on its state
or on the state of the passed JXLayer,
this method should be overridden.
JXLayer's glassPane component or null.
JXLayer this AbstractBufferedLayerUI is set to.
LayerEffect to be used during painting of this JXLayer,
the default implementation returns constant empty array.
LayerEffects
to be applied to the buffer of this BufferedLayerUI
LayerEffect to be used during painting of this JXLayer,
the default implementation returns constant empty array.
This implementation returns the array of Effects
set using BufferedLayerUI.setLayerEffects(LayerEffect[])
If a BufferedLayerUI provides more extensive API
to support different Effects depending on its state
or on the state of the passed JXLayer,
this method should be overridden.
LayerEffect to be used during painting of this JXLayer,
the default implementation returns constant empty array.
JXLayer
and its LayerUI.
LockableLayerUI when it locked state.
PropertyChangeListeners
registered on this LayerItem.
PropertyChangeListeners
registered on this LayerItem.
JXLayer,
the default implementation returns the empty unmodifiable map.
Graphics2D
during painting of this BufferedLayerUI.
JXLayer,
the default implementation returns the empty unmodifiable map.
This implementation returns the map of rendreing hints
set using BufferedLayerUI.setRenderingHints(java.util.Map)
If a BufferedLayerUI provides more extensive API
to support different rendering hints depending on its state
or on the state of the passed JXLayer,
this method should be overridden.
AffineTransform to be used during painting of this JXLayer,
the default implementation returns null.
AffineTransform to be applied to the Graphics2D
during painting of this BufferedLayerUI.
AffineTransform to be used during painting of this JXLayer,
the default implementation returns null.
This implementation returns the AffineTransform
set using BufferedLayerUI.setTransform(AffineTransform)
If a BufferedLayerUI provides more extensive API
to support different AffineTransform depending on its state
or on the state of the passed JXLayer,
this method should be overridden.
LayerUI for this JXLayer.
JXLayer's view component or null.
LayerUI when any of its property is changed
and allows to update every JXLayer this LayerUI is set to.
LayerUI when any of its property is changed
and allows to update every JXLayer this LayerUI is set to.
JXLayer this LayerUI is set to.
This implementation saves the passed JXLayer instance
and checks that it set to one layer only
JXLayer this LayerUI is set to.
The default implementation registers the LayerUI
as a property change listener for the passed JXLayer
This implementation saves the passed JXLayer instance
and checks that it set to one layer only
JXLayer this LayerUI is set to.
LayerItem is in active state.
The default return value for this method is true.
LayerItem is in active state.
false and AbstractLayerUI.isDirty returns false
and the cached image exists and matches the size of painted JXLayer
then the existing image will be used during the painting.
true if incremental update is enabled for this BufferedLayerUI
and its cache image is updated on every repainting, otherwise returns false.
false and AbstractLayerUI.isDirty returns false
and the cached image exists and matches the size of painted JXLayer
then the existing image will be used during the painting.
This implementation returns the incremental update flag
set using BufferedLayerUI.setIncrementalUpdate(boolean)
If a BufferedLayerUI provides more extensive API
to support incremental updated depending on its state
or on the state of the passed JXLayer,
this method should be overridden.
false
and it makes the painting much faster
true if this LockableLayerUI
is in locked state and all JXLayer's mouse, keyboard and focuse events
are temporarily blocked, otherwise returns false.
true if mouseEvent is a mouse auto-scrolling trigger.
JXLayer overrides the default implementation of
this method to return false when the glassPane is visible.
MouseEvents,
KeyEvents and FocusEvents which generated within its borders.JXLayer object with empty view component
and empty LayerUI.
JXLayer object with empty LayerUI.
JXLayer object with provided view component
and LayerUI object.
BufferedImage.JXLayer's UI delegates.BufferedLayerUI which provides
a lightweight disabling for the content of its JXLayer.MouseScrollableUI provides the mouse auto-scrolling feature
for your applications.MouseScrollableUI.
LayerUI object.
Graphics object to
render the content of the component.
Note: It is rarely necessary to override this method, for
custom painting override AbstractLayerUI.paintLayer(Graphics2D,JXLayer) instead
This method configures the passed Graphics with help of the
AbstractLayerUI.configureGraphics(Graphics2D,JXLayer) method,
then calls paintLayer(Graphics2D,JXLayer)
and resets the "dirty bit" at the end.
This method paints the paitns the JXLayer to the BufferedImage
and then paints this image to the passed Graphics.
AbstractLayerUI.paintLayer(Graphics2D,JXLayer) instead
This method configures the passed Graphics with help of the
AbstractLayerUI.configureGraphics(Graphics2D,JXLayer) method,
then calls paintLayer(Graphics2D,JXLayer)
and resets the "dirty bit" at the end.
Graphics object to
render the content of the component.
Note: It is rarely necessary to override this method, for
custom painting override AbstractLayerUI.paintLayer(Graphics2D,JXLayer) instead
This method configures the passed Graphics with help of the
AbstractLayerUI.configureGraphics(Graphics2D,JXLayer) method,
then calls paintLayer(Graphics2D,JXLayer)
and resets the "dirty bit" at the end.
This method paints the paitns the JXLayer to the BufferedImage
and then paints this image to the passed Graphics.
JXLayer.paint(Graphics) and
ComponentUI.update(Graphics, JComponent) methods
FocusEvent occurring on the JXLayer
or any of its subcomponents.
KeyEvent occurring on the JXLayer
or any of its subcomponents.
KeyEvent occurring on the JXLayer
or any of its subcomponents.
MouseEvent occurring on the JXLayer
or any of its subcomponents.
MouseEvent occurring on the JXLayer
or any of its subcomponents.
Activates the mouse auto-scrolling if e is a scrolling trigger.
JXLayer
or any of its subcomponents.
JXLayer
or any of its subcomponents.
Scrolls the JXLayer's view JScrollPane
if mouse scrolling is activated
MouseWheelEvent occurring on the JXLayer
or any of its subcomponents.
PropertyChangeListener from this LayerItem.
PropertyChangeListener from this LayerItem.
PropertyChangeListener from the listener
list for a specific property.
AlphaComposite with the specified alpha value
as the Composite for this BufferedLayerUI.
BufferedImageOps
to be used by this ImageEffect
Shape to be applied to the Graphics2D
during painting of this BufferedLayerUI.
Composite to be applied to the Graphics2D
during painting of this BufferedLayerUI.
AbstractEffect,
depending on the value of the parameter isEnabled.
JXLayer's glassPane component, which can be null.
BufferedLayerUI.
Effects to be applied to the Graphics2D
during painting of this BufferedLayerUI
This BufferedLayerUI is set to every Effect
in this array as a PropertyChangeListener to mark itself
as dirty when any of those Effects changes its state.
JXLayer.
isLocked is true then all mouse, keyboard and focuse events
from the JXLayer of this LockableLayerUI
will be temporarily blocked.
LockableLayerUI when it locked state.
Graphics2D
during painting of this BufferedLayerUI.
AffineTransform to be applied to the Graphics2D
during painting of this BufferedLayerUI.
LayerUI which will perform painting
and receive input events for this JXLayer.
JXLayer's view component, which can be null.
LayerUI.updateUI(JXLayer) method,
if LayerUI is set.
AbstractBufferedLayerUI as dirty if the LookAndFeel was changed
JXLayer.updateUI() is called
from the JXLayer this LayerUI is set to.
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||