|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.image.painter.PaintContextProxy
PaintContext that delegates all PaintContext calls to the PaintContext returned by the abstract method getPaintContext(). This class is used in situations where an Object already has a PaintCOntext but wishes to override a few of that PaintContext's methods.
getPaintContext()
,
PaintContext
Fields inherited from interface oracle.cabo.image.painter.PaintContext |
ICON_KEY, IMAGE_KEY, IMAGESET_KEY, LABEL_KEY, MNEMONIC_INDEX_KEY, STATE_ARMED, STATE_BACKGROUND_NOT_FILLED, STATE_DISABLED, STATE_FOCUSED, STATE_INACTIVE, STATE_ISDEFAULT, STATE_MOUSE_OVER, STATE_SELECTED, STATE_SET |
Constructor Summary | |
PaintContextProxy()
Create a PaintContextProxy. |
Method Summary | |
java.awt.FontMetrics |
getFontMetrics(java.awt.Font font)
Returns a font metrics object for the specified font. |
ImageContext |
getImageContext()
Returns the color scheme to used when painting in this PaintContext. |
java.awt.image.ImageObserver |
getImageObserver()
Returns an image observer object that can be used to monitor progress in loading images. |
float |
getInteriorAlignmentX()
Returns the horizontal interior alignment of the PaintContext. |
float |
getInteriorAlignmentY()
Returns the vertical interior alignment of the PaintContext. |
java.awt.Color |
getPaintBackground()
Returns the background color of the PaintContext. |
protected abstract PaintContext |
getPaintContext()
Subclasses should override this method to return the PaintContext that the PaintContextProxy will delegate to. |
java.lang.Object |
getPaintData(java.lang.Object key)
Returns the data Object for the specified key. |
java.awt.Font |
getPaintFont()
Returns the font of the PaintContext. |
java.awt.Color |
getPaintForeground()
Returns the foreground color of the PaintContext. |
java.awt.Graphics |
getPaintGraphics()
|
java.util.Locale |
getPaintLocale()
Returns the Locale of the PaintContext. |
int |
getPaintState()
Returns a mask for the current state. |
int |
getReadingDirection()
Returns the reading direction of the PaintContext. |
java.awt.Color |
getSurroundingColor()
Returns the color surrounding the Object to be painted with the PaintContext. |
void |
setResponseProperty(java.lang.Object key,
java.lang.Object value)
Sets a property on the response dictionary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PaintContextProxy()
Method Detail |
public void setResponseProperty(java.lang.Object key, java.lang.Object value)
setResponseProperty
in interface PaintContext
public java.awt.Graphics getPaintGraphics()
getPaintGraphics
in interface PaintContext
public int getPaintState()
getPaintState
in interface PaintContext
public ImageContext getImageContext()
getImageContext
in interface PaintContext
public java.awt.Color getPaintForeground()
getPaintForeground
in interface PaintContext
public java.awt.Color getPaintBackground()
getPaintBackground
in interface PaintContext
public java.awt.Color getSurroundingColor()
getSurroundingColor
in interface PaintContext
public java.awt.Font getPaintFont()
getPaintFont
in interface PaintContext
public java.awt.FontMetrics getFontMetrics(java.awt.Font font)
getFontMetrics
in interface PaintContext
font
- Font object to return FontMetrics of.
public java.awt.image.ImageObserver getImageObserver()
getImageObserver
in interface PaintContext
public java.util.Locale getPaintLocale()
getPaintLocale
in interface PaintContext
public java.lang.Object getPaintData(java.lang.Object key)
getPaintData
in interface PaintContext
key
- The key specifying which data Object the PaintContext should
return.
key
or null
if no Object for that key is supported.public float getInteriorAlignmentX()
getInteriorAlignmentX
in interface PaintContext
public float getInteriorAlignmentY()
getInteriorAlignmentY
in interface PaintContext
public int getReadingDirection()
PaintContext
getReadingDirection
in interface PaintContext
oracle.cabo.image.painter.PaintContext
LocaleUtils
protected abstract PaintContext getPaintContext()
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |