|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.presutil.XMLWriter
oracle.dss.dataView.ImageViewExportXMLWriter
public class ImageViewExportXMLWriter
Field Summary | |
---|---|
static java.lang.String |
ATTR_ADS
Attribute name: ads. |
static java.lang.String |
ATTR_ALT
Attribute name: alt. |
static java.lang.String |
ATTR_ANG
Attribute name: angle. |
static java.lang.String |
ATTR_ANGLE
Attribute name: angle. |
static java.lang.String |
ATTR_ANIMATION_DOWN_COLOR
Attribute name: animationDownColor. |
static java.lang.String |
ATTR_ANIMATION_DURATION
Attribute name: animationDuration. |
static java.lang.String |
ATTR_ANIMATION_INDICATORS
Attribute name: animationIndicators. |
static java.lang.String |
ATTR_ANIMATION_ON_DATA_CHANGE
Attribute name: animationOnDataChange. |
static java.lang.String |
ATTR_ANIMATION_ON_DISPLAY
Attribute name: animationOnDisplay. |
static java.lang.String |
ATTR_ANIMATION_UP_COLOR
Attribute name: animationUpColor. |
static java.lang.String |
ATTR_BC
Attribute name: bc. |
static java.lang.String |
ATTR_BEVEL
Attribute name: bevel. |
static java.lang.String |
ATTR_BOUNDING_BOX
Attribute name: bb. |
static java.lang.String |
ATTR_BW
Attribute name: bw. |
static java.lang.String |
ATTR_CLICK_ACTION
Attribute name: clickAction. |
static java.lang.String |
ATTR_CLICK_EVENT_JS
Attribute name: clickEventJs. |
static java.lang.String |
ATTR_CLICK_LISTENER
Attribute name: clickListener. |
static java.lang.String |
ATTR_CLICKABLE
Attribute name: clickable. |
static java.lang.String |
ATTR_CLIP
Attribute name: clip. |
static java.lang.String |
ATTR_CLOSURE_TYPE
Attribute name: closureType. |
static java.lang.String |
ATTR_COLOR
Attribute name: color. |
static java.lang.String |
ATTR_CX
Attribute name: cx. |
static java.lang.String |
ATTR_CY
Attribute name: cy. |
static java.lang.String |
ATTR_D
Attribute name: d. |
static java.lang.String |
ATTR_DIR
Attribute name: dir. |
static java.lang.String |
ATTR_DRILL_JS
Attribute name: drillJs. |
static java.lang.String |
ATTR_FC
Attribute name: fc. |
static java.lang.String |
ATTR_FONT
Attribute name: font. |
static java.lang.String |
ATTR_FP
Attribute name: fp. |
static java.lang.String |
ATTR_FT
Attribute name: fillType. |
static java.lang.String |
ATTR_G_ID
Attribute name: gId. |
static java.lang.String |
ATTR_G_ID_LIST
Attribute name: gIdList. |
static java.lang.String |
ATTR_GLOW
Attribute name: glow. |
static java.lang.String |
ATTR_GRADIENT_DIR_POINTS
Attribute name: gradientDirPoints. |
static java.lang.String |
ATTR_H
Attribute name: h. |
static java.lang.String |
ATTR_HREF
Attribute name: href. |
static java.lang.String |
ATTR_ID
Attribute name: id. |
static java.lang.String |
ATTR_JUSTIFICATION
Attribute name: justification. |
static java.lang.String |
ATTR_LINK
Attribute name: link. |
static java.lang.String |
ATTR_LS
Attribute name: ls. |
static java.lang.String |
ATTR_LW
Attribute name: lw. |
static java.lang.String |
ATTR_M_ID
Attribute name: mId. |
static java.lang.String |
ATTR_METADATA_FONT
|
static java.lang.String |
ATTR_MOUSE_TRANSPARENT
Attribute name: mouseTransparent. |
static java.lang.String |
ATTR_NAME
Attribute name: name. |
static java.lang.String |
ATTR_NOHREF
Attribute name: nohref. |
static java.lang.String |
ATTR_OBJECT_ID
Attribute name: ObjectID. |
static java.lang.String |
ATTR_ON_BLUR
Attribute name: onBlur. |
static java.lang.String |
ATTR_ON_CLICK
Attribute name: onClick. |
static java.lang.String |
ATTR_ON_DBL_CLICK
Attribute name: onDblClick. |
static java.lang.String |
ATTR_ON_FOCUS
Attribute name: onFocus. |
static java.lang.String |
ATTR_ON_KEY_DOWN
Attribute name: onKeyDown. |
static java.lang.String |
ATTR_ON_KEY_PRESS
Attribute name: onKeyPress. |
static java.lang.String |
ATTR_ON_KEY_UP
Attribute name: onKeyUp. |
static java.lang.String |
ATTR_ON_MOUSE_DOWN
Attribute name: onMouseDown. |
static java.lang.String |
ATTR_ON_MOUSE_MOVE
Attribute name: onMouseMove. |
static java.lang.String |
ATTR_ON_MOUSE_OUT
Attribute name: onMouseOut. |
static java.lang.String |
ATTR_ON_MOUSE_OVER
Attribute name: onMouseOver. |
static java.lang.String |
ATTR_ON_MOUSE_UP
Attribute name: onMouseUp. |
static java.lang.String |
ATTR_P
Attribute name: p. |
static java.lang.String |
ATTR_POINTS
Attribute name: points. |
static java.lang.String |
ATTR_POSITION
Attribute name: position. |
static java.lang.String |
ATTR_R
Attribute name: r. |
static java.lang.String |
ATTR_RX
Attribute name: rx. |
static java.lang.String |
ATTR_RY
Attribute name: ry. |
static java.lang.String |
ATTR_S_ID
Attribute name: sId. |
static java.lang.String |
ATTR_S_ID_LIST
Attribute name: series. |
static java.lang.String |
ATTR_SHADOW
Attribute name: shadow. |
static java.lang.String |
ATTR_ST_ID
Attribute name: stId. |
static java.lang.String |
ATTR_TABINDEX
Attribute name: tabindex. |
static java.lang.String |
ATTR_TARGET
Attribute name: target. |
static java.lang.String |
ATTR_TEXTURE_DISPLAY_MODE
Attribute name: textureDisplayMode. |
static java.lang.String |
ATTR_TEXTURE_URL
Attribute name: textureUrl. |
static java.lang.String |
ATTR_TITLE
Attribute name: title. |
static java.lang.String |
ATTR_TOOLTIP
Attribute name: tooltip. |
static java.lang.String |
ATTR_URL
Attribute name: url. |
static java.lang.String |
ATTR_USE_TOOLTIP_TEMPLATE
Attribute name: useTooltipTemplate. |
static java.lang.String |
ATTR_VERSION
Attribute name: version. |
static java.lang.String |
ATTR_VISIBILITY
Attribute name: visibility. |
static java.lang.String |
ATTR_W
Attribute name: w. |
static java.lang.String |
ATTR_X
Attribute name: x. |
static java.lang.String |
ATTR_X1
Attribute name: x1. |
static java.lang.String |
ATTR_X2
Attribute name: x2. |
static java.lang.String |
ATTR_Y
Attribute name: y. |
static java.lang.String |
ATTR_Y1
Attribute name: y1. |
static java.lang.String |
ATTR_Y2
Attribute name: y2. |
static double |
DEFAULT_BEVEL_ANGLE
|
static double |
DEFAULT_BEVEL_BLURX
|
static double |
DEFAULT_BEVEL_BLURY
|
static double |
DEFAULT_BEVEL_DISTANCE
|
static java.awt.Color |
DEFAULT_BEVEL_HIGHLIGHT_COLOR
|
static int |
DEFAULT_BEVEL_QUALITY
|
static java.awt.Color |
DEFAULT_BEVEL_SHADOW_COLOR
|
static double |
DEFAULT_BEVEL_STRENGTH
|
static java.lang.String |
DEFAULT_BEVEL_TYPE
|
static double |
DEFAULT_GLOW_BLURX
|
static double |
DEFAULT_GLOW_BLURY
|
static java.awt.Color |
DEFAULT_GLOW_HIGHLIGHT_COLOR
|
static int |
DEFAULT_GLOW_INNER
|
static int |
DEFAULT_GLOW_KNOCKOUT
|
static int |
DEFAULT_GLOW_QUALITY
|
static double |
DEFAULT_GLOW_STRENGTH
|
static double |
DEFAULT_SHADOW_ANGLE
|
static double |
DEFAULT_SHADOW_BLURX
|
static double |
DEFAULT_SHADOW_BLURY
|
static java.awt.Color |
DEFAULT_SHADOW_COLOR
|
static double |
DEFAULT_SHADOW_DISTANCE
|
static int |
DEFAULT_SHADOW_HIDE
|
static int |
DEFAULT_SHADOW_INNER
|
static int |
DEFAULT_SHADOW_KNOCKOUT
|
static int |
DEFAULT_SHADOW_QUALITY
|
static double |
DEFAULT_SHADOW_STRENGTH
|
static java.lang.String |
ELEM_CIRCLE
Element name: circle. |
static java.lang.String |
ELEM_CLIP_PATH
Element name: clipPath. |
static java.lang.String |
ELEM_CUSTOM_PROPERTIES
|
static java.lang.String |
ELEM_FONT
Element name: font. |
static java.lang.String |
ELEM_GRAD
Element name: grad. |
static java.lang.String |
ELEM_HANDLE
|
static java.lang.String |
ELEM_IMAGE
Element name: image. |
static java.lang.String |
ELEM_LINE
Element name: line. |
static java.lang.String |
ELEM_LINE_MARKER
Element name: lineMarker. |
static java.lang.String |
ELEM_LINEGRAD
Element name: lineGradient. |
static java.lang.String |
ELEM_MENU
|
static java.lang.String |
ELEM_MENU_ITEM
|
static java.lang.String |
ELEM_METADATA
Element name: metadata. |
static java.lang.String |
ELEM_OVAL
Element name: oval. |
static java.lang.String |
ELEM_PATH
Element name: path. |
static java.lang.String |
ELEM_PIE_SLICE
|
static java.lang.String |
ELEM_PIE_SLICE_LABEL
Label subelement for enclosing the shapeAttributes for the label of a pie slice element. |
static java.lang.String |
ELEM_POLYGON
Element name: polygon. |
static java.lang.String |
ELEM_POLYLINE
Element name: polyline. |
static java.lang.String |
ELEM_RECT
Element name: rect. |
static java.lang.String |
ELEM_ROOT
Element name: root. |
static java.lang.String |
ELEM_SHAPE_ATTRIBUTES
Element name: shapeAttributes. |
static java.lang.String |
ELEM_STOP
Element name: stop. |
static java.lang.String |
ELEM_TEXT
Element name: text. |
static java.lang.String |
ELEM_TOOLTIP_FORMAT
Element name: tooltip formatting. |
protected java.util.List<java.lang.String> |
m_fontIndex
ArrayList containing all the font strings encountered so far. |
static java.lang.String |
VAL_ADS_ON
Value name: on |
static java.lang.String |
VAL_ANIMATION_ON_DISPLAY_AUTO
|
static java.lang.String |
VAL_FALSE
Value name: false |
static java.lang.String |
VAL_FT_COLOR
Value name: FT_COLOR. |
static java.lang.String |
VAL_FT_GRADIENT
Value name: FT_GRADIENT. |
static java.lang.String |
VAL_FT_PATTERN
Value name: FT_PATTERN. |
static java.lang.String |
VAL_FT_TEXTURE
Value name: FT_TEXTURE. |
static java.lang.String |
VAL_GD_CUSTOM
Value name: GD_CUSTOM_LINEAR. |
static java.lang.String |
VAL_GD_DIAGONAL_135
Value name: GD_DIAGONAL_135. |
static java.lang.String |
VAL_GD_DIAGONAL_45
Value name: GD_DIAGONAL_45. |
static java.lang.String |
VAL_GD_DOWN
Value name: GD_DOWN. |
static java.lang.String |
VAL_GD_RADIAL
Value name: GD_RADIAL. |
static java.lang.String |
VAL_GD_RIGHT
Value name: GD_RIGHT. |
static java.lang.String |
VAL_HIDDEN
Value name: hidden. |
static java.lang.String |
VAL_JUSTIFICATION_CENTER
Value name: justification center. |
static java.lang.String |
VAL_JUSTIFICATION_LEFT
Value name: justification left. |
static java.lang.String |
VAL_JUSTIFICATION_RIGHT
Value name: justification right. |
static java.lang.String |
VAL_NONE
Value name: none. |
static java.lang.String |
VAL_TRUE
Value name: true |
Fields inherited from class oracle.dss.presutil.XMLWriter |
---|
LINE_SEP, m_eh, m_elems, m_writer |
Constructor Summary | |
---|---|
ImageViewExportXMLWriter(java.io.OutputStream os,
ErrorHandler eh)
Constructor. |
|
ImageViewExportXMLWriter(java.io.OutputStream os,
ErrorHandler eh,
java.lang.String charEnc)
Constructor. |
|
ImageViewExportXMLWriter(java.io.Writer writer,
ErrorHandler eh)
Constructor. |
|
ImageViewExportXMLWriter(java.io.Writer writer,
ErrorHandler eh,
java.lang.String charEnc)
Constructor. |
Method Summary | |
---|---|
protected static java.lang.String |
_buildTooltipString(java.util.ArrayList<java.lang.String> tooltipsArray)
|
protected static java.lang.String |
_buildTooltipString(java.lang.String[] tooltipsArray)
|
protected static java.lang.String |
convertArcTypeToString(int arcType)
Convert an Arc2D arcType to a String. |
protected static java.lang.String |
convertColorToAttributeValue(java.awt.Color color,
ErrorHandler eh)
Get a color in a form appropriate for an attribute value. |
protected void |
endElement(java.lang.String name)
End the given element. |
java.util.Map<java.lang.String,java.lang.String> |
getCustomProperties()
Optional hook for adding custom property value pairs to an object. |
static java.lang.String |
getFontAttributes(java.awt.Font font,
java.awt.Color c,
boolean bUnderline,
ErrorHandler eh)
Gets attributes for the given font. |
protected static java.lang.String |
getFontFamily(java.lang.String name,
boolean bQuotes)
Get the HTML font family for the given Java font family. |
int |
getFontID(java.lang.String fontString)
Returns the index of the font represented by fontString. |
protected java.lang.String |
getFontMap()
Returns a String with fontName,fontURL mappings. |
static java.awt.FontMetrics |
getFontMetrics(java.awt.Graphics g,
java.awt.Font f)
Calculates the FontMetrics for the font using the Graphics object. |
protected java.util.Locale |
getLocale()
Returns the locale of the ImageView being rendered. |
boolean |
hasAlt()
Returns true if ShapeAttributes element has alt text |
boolean |
hasShapeAttributes()
Returns true if the current element may have shapeAttributes. |
boolean |
isActiveDataService()
Returns true if the imageView is using the active data service. |
boolean |
isAnimationOnDisplay()
Returns true if the imageView is using ppr animations. |
protected boolean |
isBIDILocale()
Returns true if the current locale is one of the BIDI locales. |
boolean |
isPPRAnimation()
Returns true if the imageView is using ppr animations. |
boolean |
isUseDataIds()
|
void |
setUseDataIds(boolean b)
|
boolean |
startCircleElement(double cx,
double cy,
double r)
Start a circle element. |
boolean |
startCircleOrOvalElement(java.awt.geom.Arc2D arc)
Start a Circle or Ellipse element, depending on the shape of the given arc. |
boolean |
startCircleOrOvalElement(java.awt.Rectangle rect)
Start a Circle or Ellipse element, depending on the shape of the given rectangle. |
void |
startHandleElement(java.util.Map<java.lang.String,java.lang.String> metadata)
Starts a handle element for using in grouping objects. |
boolean |
startLineElement(double x1,
double y1,
double x2,
double y2)
Starts a line element using coordinates in double precision. |
boolean |
startLineElement(int x1,
int y1,
int x2,
int y2)
Start a line element. |
boolean |
startOvalElement(double cx,
double cy,
double rx,
double ry)
Start an oval element. |
boolean |
startOvalElement(java.awt.Rectangle rect)
Start an oval element. |
boolean |
startPathElement(java.awt.Shape shape)
Start a path element. |
boolean |
startPolygonElement(int[] xCoords,
int[] yCoords,
int count)
Start a polygon element. |
boolean |
startPolygonElement(java.awt.Polygon p)
Start a polygon element. |
boolean |
startPolylineElement(java.awt.Point[] points)
Start a polyline element. |
boolean |
startRectElement(int x,
int y,
int width,
int height)
Start a rect element. |
boolean |
startRectElement(java.awt.Rectangle rect)
Start a rect element. |
boolean |
startRectElement(java.awt.Rectangle rect,
int rx,
int ry)
Start a rounded rect element. |
boolean |
startRootElement()
Start the root element. |
boolean |
startTextElement(int x,
int y)
Start a text element. |
boolean |
startTextElement(int x,
int y,
int len)
Start a text element. |
void |
writeAnimationAttributes()
Writes all animation related attributes into the xml. |
void |
writeAttribute(java.lang.String name,
java.awt.Color color)
Write a color as an attribute on the current element. |
void |
writeBevelAttribute(java.awt.Color highlightColor,
java.awt.Color shadowColor,
java.lang.Double distance,
java.lang.Double strength,
java.lang.Double angle,
java.lang.Double blurX,
java.lang.Double blurY,
java.lang.Integer quality,
java.lang.String type)
Writes the bevel attribute. |
void |
writeCachedAttribute(java.lang.String attr,
boolean value,
java.lang.String elemType)
Writes a cached attribute. |
void |
writeCachedAttribute(java.lang.String attr,
java.awt.Color value,
java.lang.String elemType)
Writes a cached attribute. |
void |
writeCachedAttribute(java.lang.String attr,
double value,
java.lang.String elemType)
Writes a cached attribute. |
void |
writeCachedAttribute(java.lang.String attr,
int value,
java.lang.String elemType)
Writes a cached attribute. |
void |
writeCachedAttribute(java.lang.String attr,
java.lang.String value,
java.lang.String elemType)
Writes a cached attribute. |
void |
writeCustomPropertiesElement()
|
void |
writeFontIndexAttribute(int fid)
Writes the fontIndex attribute. |
void |
writeGlowAttribute(java.awt.Color highlightColor,
java.lang.Double blurX,
java.lang.Double blurY,
java.lang.Double strength,
java.lang.Integer quality,
java.lang.Integer inner,
java.lang.Integer knockout)
Writes the glow attribute. |
protected void |
writeGradientStopAttributes(oracle.dss.presutil.GradientObj gradient)
Write gradient stop attributes to XML. |
boolean |
writeMetadataElement(java.lang.String elem,
java.util.Map<java.lang.String,java.lang.String> metadata)
|
void |
writeShadowAttribute(java.awt.Color shadowColor,
java.lang.Double distance,
java.lang.Double strength,
java.lang.Double angle,
java.lang.Double blurX,
java.lang.Double blurY,
java.lang.Integer quality,
java.lang.Integer inner,
java.lang.Integer knockout,
java.lang.Integer hide)
Writes the shadow attribute. |
void |
writeShapeAttributesElement()
Write optional ShapeAttributes for the current element. |
void |
writeTooltipAttribute(java.lang.String[] tooltipsArray)
Write a tooltip for the current element using the tooltip attribute. |
Methods inherited from class oracle.dss.presutil.XMLWriter |
---|
_roundDouble, checkPrevStartTag, checkPrevStartTag, close, closeStartTag, colorToHex, colorToHexWithAlpha, convertShapeToPath, endCData, endElement, escape, flush, getBrighter, getCharacterEncoding, isAutomaticNewlines, isEncodingScriptTag, print, print, println, println, println, setAutomaticNewlines, setEncodingScriptTag, startCData, startElement, write, writeAttribute, writeAttribute, writeAttribute, writeAttribute, writeAttribute, writeText, writeXMLHeader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELEM_CIRCLE
public static final java.lang.String ELEM_CLIP_PATH
public static final java.lang.String ELEM_FONT
public static final java.lang.String ELEM_GRAD
public static final java.lang.String ELEM_HANDLE
public static final java.lang.String ELEM_IMAGE
public static final java.lang.String ELEM_LINE
public static final java.lang.String ELEM_LINEGRAD
public static final java.lang.String ELEM_LINE_MARKER
public static final java.lang.String ELEM_METADATA
public static final java.lang.String ELEM_MENU
public static final java.lang.String ELEM_MENU_ITEM
public static final java.lang.String ELEM_OVAL
public static final java.lang.String ELEM_PATH
public static final java.lang.String ELEM_POLYGON
public static final java.lang.String ELEM_POLYLINE
public static final java.lang.String ELEM_CUSTOM_PROPERTIES
public static final java.lang.String ELEM_RECT
public static final java.lang.String ELEM_ROOT
public static final java.lang.String ELEM_SHAPE_ATTRIBUTES
public static final java.lang.String ELEM_STOP
public static final java.lang.String ELEM_PIE_SLICE
public static final java.lang.String ELEM_PIE_SLICE_LABEL
public static final java.lang.String ELEM_TEXT
public static final java.lang.String ELEM_TOOLTIP_FORMAT
public static final java.lang.String ATTR_ADS
public static final java.lang.String ATTR_ALT
public static final java.lang.String ATTR_ANGLE
writeCachedAttribute
API should be used,
since that only writes the attribute when the angle has changed.
Also, the flash engine keeps track of the current angle, so we
must maintain that information as well.
public static final java.lang.String ATTR_ANG
public static final java.lang.String ATTR_ANIMATION_DOWN_COLOR
public static final java.lang.String ATTR_ANIMATION_DURATION
public static final java.lang.String ATTR_ANIMATION_INDICATORS
public static final java.lang.String ATTR_ANIMATION_UP_COLOR
public static final java.lang.String ATTR_ANIMATION_ON_DATA_CHANGE
public static final java.lang.String ATTR_ANIMATION_ON_DISPLAY
public static final java.lang.String ATTR_BC
public static final java.lang.String ATTR_BEVEL
public static final java.lang.String ATTR_BOUNDING_BOX
public static final java.lang.String ATTR_BW
public static final java.lang.String ATTR_CLICK_ACTION
public static final java.lang.String ATTR_CLICK_EVENT_JS
public static final java.lang.String ATTR_CLICK_LISTENER
public static final java.lang.String ATTR_CLICKABLE
public static final java.lang.String ATTR_CLIP
public static final java.lang.String ATTR_CLOSURE_TYPE
public static final java.lang.String ATTR_COLOR
public static final java.lang.String ATTR_CX
public static final java.lang.String ATTR_CY
public static final java.lang.String ATTR_D
public static final java.lang.String ATTR_DIR
public static final java.lang.String ATTR_DRILL_JS
public static final java.lang.String ATTR_FC
public static final java.lang.String ATTR_FP
public static final java.lang.String ATTR_FT
writeCachedAttribute
API should be used,
since that only writes the attribute when the fillType has changed.
Also, the flash engine keeps track of the current fillType, so we
must maintain that information as well.
public static final java.lang.String ATTR_METADATA_FONT
public static final java.lang.String ATTR_FONT
public static final java.lang.String ATTR_G_ID
public static final java.lang.String ATTR_GLOW
public static final java.lang.String ATTR_G_ID_LIST
public static final java.lang.String ATTR_H
public static final java.lang.String ATTR_HREF
public static final java.lang.String ATTR_ID
public static final java.lang.String ATTR_JUSTIFICATION
writeCachedAttribute
should be used, since this
attribute's value is cached by the middle tier and flash engine.
public static final java.lang.String ATTR_LS
public static final java.lang.String ATTR_LW
public static final java.lang.String ATTR_LINK
public static final java.lang.String ATTR_M_ID
public static final java.lang.String ATTR_MOUSE_TRANSPARENT
writeCachedAttribute
should be used, since this
attribute's value is cached by the middle tier and flash engine.
public static final java.lang.String ATTR_NAME
public static final java.lang.String ATTR_NOHREF
public static final java.lang.String ATTR_OBJECT_ID
writeCachedAttribute
API should be used,
since that only writes the attribute when the objectID has changed.
Also, the flash engine keeps track of the current objectID, so we
must maintain that information as well.
public static final java.lang.String ATTR_ON_BLUR
public static final java.lang.String ATTR_ON_CLICK
public static final java.lang.String ATTR_ON_DBL_CLICK
public static final java.lang.String ATTR_ON_FOCUS
public static final java.lang.String ATTR_ON_KEY_DOWN
public static final java.lang.String ATTR_ON_KEY_PRESS
public static final java.lang.String ATTR_ON_KEY_UP
public static final java.lang.String ATTR_ON_MOUSE_DOWN
public static final java.lang.String ATTR_ON_MOUSE_MOVE
public static final java.lang.String ATTR_ON_MOUSE_OUT
public static final java.lang.String ATTR_ON_MOUSE_OVER
public static final java.lang.String ATTR_ON_MOUSE_UP
public static final java.lang.String ATTR_P
public static final java.lang.String ATTR_GRADIENT_DIR_POINTS
public static final java.lang.String ATTR_POINTS
public static final java.lang.String ATTR_POSITION
public static final java.lang.String ATTR_R
public static final java.lang.String ATTR_RX
public static final java.lang.String ATTR_RY
public static final java.lang.String ATTR_S_ID
public static final java.lang.String ATTR_S_ID_LIST
public static final java.lang.String ATTR_SHADOW
public static final java.lang.String ATTR_ST_ID
public static final java.lang.String ATTR_TABINDEX
public static final java.lang.String ATTR_TARGET
public static final java.lang.String ATTR_TEXTURE_DISPLAY_MODE
public static final java.lang.String ATTR_TEXTURE_URL
public static final java.lang.String ATTR_TITLE
public static final java.lang.String ATTR_TOOLTIP
public static final java.lang.String ATTR_USE_TOOLTIP_TEMPLATE
public static final java.lang.String ATTR_URL
public static final java.lang.String ATTR_VERSION
public static final java.lang.String ATTR_VISIBILITY
public static final java.lang.String ATTR_W
public static final java.lang.String ATTR_X
public static final java.lang.String ATTR_X1
public static final java.lang.String ATTR_X2
public static final java.lang.String ATTR_Y
public static final java.lang.String ATTR_Y1
public static final java.lang.String ATTR_Y2
public static final java.lang.String VAL_TRUE
public static final java.lang.String VAL_FALSE
public static final java.lang.String VAL_ANIMATION_ON_DISPLAY_AUTO
public static final java.lang.String VAL_ADS_ON
public static final java.lang.String VAL_FT_COLOR
public static final java.lang.String VAL_FT_GRADIENT
public static final java.lang.String VAL_FT_TEXTURE
public static final java.lang.String VAL_FT_PATTERN
public static final java.lang.String VAL_GD_RADIAL
public static final java.lang.String VAL_GD_RIGHT
public static final java.lang.String VAL_GD_DOWN
public static final java.lang.String VAL_GD_DIAGONAL_45
public static final java.lang.String VAL_GD_DIAGONAL_135
public static final java.lang.String VAL_GD_CUSTOM
public static final java.lang.String VAL_HIDDEN
public static final java.lang.String VAL_NONE
public static final java.lang.String VAL_JUSTIFICATION_LEFT
public static final java.lang.String VAL_JUSTIFICATION_RIGHT
public static final java.lang.String VAL_JUSTIFICATION_CENTER
public static final java.awt.Color DEFAULT_SHADOW_COLOR
public static final double DEFAULT_SHADOW_DISTANCE
public static final double DEFAULT_SHADOW_STRENGTH
public static final double DEFAULT_SHADOW_ANGLE
public static final double DEFAULT_SHADOW_BLURX
public static final double DEFAULT_SHADOW_BLURY
public static final int DEFAULT_SHADOW_QUALITY
public static final int DEFAULT_SHADOW_INNER
public static final int DEFAULT_SHADOW_KNOCKOUT
public static final int DEFAULT_SHADOW_HIDE
public static final java.awt.Color DEFAULT_BEVEL_HIGHLIGHT_COLOR
public static final java.awt.Color DEFAULT_BEVEL_SHADOW_COLOR
public static final double DEFAULT_BEVEL_DISTANCE
public static final double DEFAULT_BEVEL_STRENGTH
public static final double DEFAULT_BEVEL_ANGLE
public static final double DEFAULT_BEVEL_BLURX
public static final double DEFAULT_BEVEL_BLURY
public static final int DEFAULT_BEVEL_QUALITY
public static final java.lang.String DEFAULT_BEVEL_TYPE
public static final java.awt.Color DEFAULT_GLOW_HIGHLIGHT_COLOR
public static final double DEFAULT_GLOW_STRENGTH
public static final double DEFAULT_GLOW_BLURX
public static final double DEFAULT_GLOW_BLURY
public static final int DEFAULT_GLOW_QUALITY
public static final int DEFAULT_GLOW_INNER
public static final int DEFAULT_GLOW_KNOCKOUT
protected java.util.List<java.lang.String> m_fontIndex
Constructor Detail |
---|
public ImageViewExportXMLWriter(java.io.OutputStream os, ErrorHandler eh, java.lang.String charEnc)
os
- OutputStream to write toeh
- ErrorHandler to usecharEnc
- character encoding to use; if null, UTF-8 will be usedpublic ImageViewExportXMLWriter(java.io.OutputStream os, ErrorHandler eh)
os
- OutputStream to write toeh
- ErrorHandler to usepublic ImageViewExportXMLWriter(java.io.Writer writer, ErrorHandler eh, java.lang.String charEnc)
writer
- Writer to write toeh
- ErrorHandler to usecharEnc
- character encoding to use; if null, UTF-8 will be usedpublic ImageViewExportXMLWriter(java.io.Writer writer, ErrorHandler eh)
writer
- Writer to write toeh
- ErrorHandler to useMethod Detail |
---|
public boolean startRootElement() throws java.io.IOException, java.lang.Exception
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredprotected java.util.Locale getLocale()
public boolean startCircleElement(double cx, double cy, double r) throws java.io.IOException, java.lang.Exception
cx
- x coordinate of the center of the circlecy
- y coordinate of the center of the circler
- radius of the circle
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startCircleOrOvalElement(java.awt.Rectangle rect) throws java.io.IOException, java.lang.Exception
rect
- Rectangle bounding the desired circle or oval
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startCircleOrOvalElement(java.awt.geom.Arc2D arc) throws java.io.IOException, java.lang.Exception
arc
- arc defining this circle or oval
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startLineElement(int x1, int y1, int x2, int y2) throws java.io.IOException, java.lang.Exception
x1
- x coordinate of start pointy1
- y coordinate of start pointx2
- x coordinate of end pointy2
- y coordinate of end point
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startLineElement(double x1, double y1, double x2, double y2) throws java.io.IOException, java.lang.Exception
x1
- x coordinate of start pointy1
- y coordinate of start pointx2
- x coordinate of end pointy2
- y coordinate of end point
true
if the element was successfully started,
false
if not
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startOvalElement(double cx, double cy, double rx, double ry) throws java.io.IOException, java.lang.Exception
cx
- x coordinate of the center of the ovalcy
- y coordinate of the center of the ovalrx
- horizontal radius of the ovalry
- vertical radius of the oval
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startOvalElement(java.awt.Rectangle rect) throws java.io.IOException, java.lang.Exception
rect
- Rectangle bounding the oval to render
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startPathElement(java.awt.Shape shape) throws java.io.IOException, java.lang.Exception
shape
- Shape defining the path
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startPolygonElement(int[] xCoords, int[] yCoords, int count) throws java.io.IOException, java.lang.Exception
xCoords
- x coordinates of the points in the polygonyCoords
- y coordinates of the points in the polygoncount
- number of points in the polygon
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startPolygonElement(java.awt.Polygon p) throws java.io.IOException, java.lang.Exception
p
- polygon to render
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startPolylineElement(java.awt.Point[] points) throws java.io.IOException, java.lang.Exception
points
- coordinates of the points in the polyline
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startRectElement(int x, int y, int width, int height) throws java.io.IOException, java.lang.Exception
x
- x coordinate of the top left corner of the rectangley
- y coordinate of the top left corner of the rectanglewidth
- width of the rectangleheight
- height of the rectangle
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startRectElement(java.awt.Rectangle rect) throws java.io.IOException, java.lang.Exception
rect
- Rectangle to render
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startRectElement(java.awt.Rectangle rect, int rx, int ry) throws java.io.IOException, java.lang.Exception
rect
- rectangle to renderrx
- width of ellipse used to round cornersry
- height of ellipse used to round corners
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startTextElement(int x, int y, int len) throws java.io.IOException, java.lang.Exception
x
- x coordinate of the starting point for the text, on the baseliney
- y coordinate of the starting point for the text, on the baselinelen
- length of the text in pixels
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean startTextElement(int x, int y) throws java.io.IOException, java.lang.Exception
x
- x coordinate of the starting point for the text, on the baseliney
- y coordinate of the starting point for the text, on the baseline
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredprotected void endElement(java.lang.String name) throws java.io.IOException, java.lang.Exception
endElement
in class oracle.dss.presutil.XMLWriter
name
- element name to end
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic int getFontID(java.lang.String fontString) throws java.io.IOException, java.lang.Exception
fontString
- String representing the font being indexed
java.io.IOException
java.lang.Exception
public void writeFontIndexAttribute(int fid) throws java.io.IOException, java.lang.Exception
fid
- int representing the font id
java.io.IOException
java.lang.Exception
public void writeShadowAttribute(java.awt.Color shadowColor, java.lang.Double distance, java.lang.Double strength, java.lang.Double angle, java.lang.Double blurX, java.lang.Double blurY, java.lang.Integer quality, java.lang.Integer inner, java.lang.Integer knockout, java.lang.Integer hide) throws java.io.IOException, java.lang.Exception
shadowColor
- distance
- strength
- angle
- blurX
- blurY
- quality
- inner
- knockout
- hide
-
java.io.IOException
java.lang.Exception
public void writeBevelAttribute(java.awt.Color highlightColor, java.awt.Color shadowColor, java.lang.Double distance, java.lang.Double strength, java.lang.Double angle, java.lang.Double blurX, java.lang.Double blurY, java.lang.Integer quality, java.lang.String type) throws java.io.IOException, java.lang.Exception
highlightColor
- shadowColor
- distance
- strength
- angle
- blurX
- blurY
- quality
- type
-
java.io.IOException
java.lang.Exception
public void writeGlowAttribute(java.awt.Color highlightColor, java.lang.Double blurX, java.lang.Double blurY, java.lang.Double strength, java.lang.Integer quality, java.lang.Integer inner, java.lang.Integer knockout) throws java.io.IOException, java.lang.Exception
highlightColor
- blurX
- blurY
- strength
- quality
- inner
- knockout
-
java.io.IOException
java.lang.Exception
public void writeCachedAttribute(java.lang.String attr, java.lang.String value, java.lang.String elemType) throws java.io.IOException, java.lang.Exception
attr
- value
- elemType
-
java.io.IOException
java.lang.Exception
public void writeCachedAttribute(java.lang.String attr, int value, java.lang.String elemType) throws java.io.IOException, java.lang.Exception
attr
- value
- elemType
-
java.io.IOException
java.lang.Exception
public void writeCachedAttribute(java.lang.String attr, double value, java.lang.String elemType) throws java.io.IOException, java.lang.Exception
attr
- value
- elemType
-
java.io.IOException
java.lang.Exception
public void writeCachedAttribute(java.lang.String attr, boolean value, java.lang.String elemType) throws java.io.IOException, java.lang.Exception
attr
- value
- elemType
-
java.io.IOException
java.lang.Exception
public void writeCachedAttribute(java.lang.String attr, java.awt.Color value, java.lang.String elemType) throws java.io.IOException, java.lang.Exception
attr
- value
- elemType
-
java.io.IOException
java.lang.Exception
public static java.lang.String getFontAttributes(java.awt.Font font, java.awt.Color c, boolean bUnderline, ErrorHandler eh)
font
- the Font whose attributes will be writtenc
- font colorbUnderline
- true if text is underlined, false if not
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredprotected static java.lang.String getFontFamily(java.lang.String name, boolean bQuotes)
name
- Java font family namebQuotes
- true to put single quotes around the font family if it
contains spaces, false to not add quotes
public void writeAttribute(java.lang.String name, java.awt.Color color) throws java.io.IOException, java.lang.Exception
writeAttribute
in class oracle.dss.presutil.XMLWriter
name
- name of the attributecolor
- value of the attribute
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean hasShapeAttributes()
public void writeShapeAttributesElement() throws java.io.IOException, java.lang.Exception
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic boolean hasAlt() throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.String> getCustomProperties()
public void writeCustomPropertiesElement() throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
public void writeTooltipAttribute(java.lang.String[] tooltipsArray) throws java.io.IOException, java.lang.Exception
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredpublic void setUseDataIds(boolean b)
b
- true to include data point ids in exported XML,
false otherwisepublic boolean isUseDataIds()
protected java.lang.String getFontMap()
public boolean isActiveDataService()
public boolean isPPRAnimation()
public boolean isAnimationOnDisplay()
protected static java.lang.String convertColorToAttributeValue(java.awt.Color color, ErrorHandler eh)
color
- value of the attributeprotected static java.lang.String convertArcTypeToString(int arcType)
arcType
- int value of arcType
protected static java.lang.String _buildTooltipString(java.lang.String[] tooltipsArray) throws java.io.IOException, java.lang.Exception
tooltipsArray
-
java.io.IOException
java.lang.Exception
protected static java.lang.String _buildTooltipString(java.util.ArrayList<java.lang.String> tooltipsArray) throws java.io.IOException, java.lang.Exception
tooltipsArray
-
java.io.IOException
java.lang.Exception
public void writeAnimationAttributes() throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
public static java.awt.FontMetrics getFontMetrics(java.awt.Graphics g, java.awt.Font f)
g
- f
-
public boolean writeMetadataElement(java.lang.String elem, java.util.Map<java.lang.String,java.lang.String> metadata) throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
public void startHandleElement(java.util.Map<java.lang.String,java.lang.String> metadata) throws java.io.IOException, java.lang.Exception
metadata
- the Map of metadata attributes and values
java.io.IOException
java.lang.Exception
protected void writeGradientStopAttributes(oracle.dss.presutil.GradientObj gradient) throws java.io.IOException, java.lang.Exception
gradient
- GradientObj instance
java.io.IOException
- if there was a problem writing to the stream
java.lang.Exception
- if another problem occurredprotected boolean isBIDILocale()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |