public abstract class UIImageView extends UIDataView implements javax.faces.component.ActionSource
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
ACTIVEDATA_PROPERTIES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ANIMATION_DOWN_COLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ANIMATION_DURATION_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ANIMATION_INDICATORS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ANIMATION_TYPE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ANIMATION_UP_COLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ATTRIBUTE_FORMATS_KEY |
static java.lang.String |
CHART_SWF_PATH |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CHART_SWF_PATH_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLICK_ACTION_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLICK_LISTENER_KEY |
static java.lang.String |
CONTENT_DELIVERY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CONTENT_DELIVERY_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOMIZATION_ID_KEY |
static int |
DISPOSITION_FRAGMENT |
static int |
DISPOSITION_STANDALONE |
static java.lang.String |
DR_DYNAMIC |
static java.lang.String |
DR_FIXED |
static java.lang.String |
DYNAMIC_RESIZE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DYNAMIC_RESIZE_KEY |
static java.lang.String |
FLASH_CHART_SWF_NAME |
static int |
FLASH_DEFAULT_FONT_LOADING_ALL
Deprecated.
FlashDefaultFontLoading: All.
Default fonts will be loaded in FLASH from the middle tier.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
FLASH_DEFAULT_FONT_LOADING_KEY
Deprecated.
|
static int |
FLASH_DEFAULT_FONT_LOADING_NONE
Deprecated.
FlashDefaultFontLoading: None.
Default fonts will not be loaded in FLASH from the middle tier.
|
static java.lang.String |
FLASH_IS_ADS_TWO |
static org.apache.myfaces.trinidad.bean.PropertyKey |
FLASH_IS_ADS_TWO_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
FONT_URL_MAP_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
IMAGE_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
IMAGE_HEIGHT_KEY
Deprecated.
use INLINE_STYLE_KEY instead
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
IMAGE_SOURCE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
IMAGE_WIDTH_KEY
Deprecated.
use INLINE_STYLE_KEY instead
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
IN_POPUP_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INIT_EFFECTS_KEY |
static java.lang.String |
INLINE_STYLE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INLINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
OTHER_PROPERTIES_KEY
Deprecated.
the UIComponent APIs should be used instead.
|
static java.lang.Object |
PIVOT_ACTION_TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RENDERMAP_KEY |
static java.lang.String |
ROWS_AS_SERIES |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ROWS_AS_SERIES_KEY |
static java.lang.String |
SHAPE_ATTRIBUTES_SET |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHAPE_ATTRIBUTES_SET_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHAPE_ATTRS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHORT_DESC_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLE_CLASS_KEY |
static int |
SVG_DISPOSITION_FRAGMENT
Deprecated.
use DISPOSITION_FRAGMENT instead
SvgDisposition: fragment.
The SVG Graph will be used as a piece of a larger component.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SVG_DISPOSITION_KEY |
static int |
SVG_DISPOSITION_STANDALONE
Deprecated.
use DISPOSITION_STANDALONE instead
SvgDisposition: standalone.
The SVG Graph will be used standalone, as a component.
|
static int |
SVG_FONT_EMBEDDING_ALL
SVGFontEmbedding: All.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SVG_FONT_EMBEDDING_KEY |
static int |
SVG_FONT_EMBEDDING_NONE
SVGFontEmbedding: None.
|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SVG_OUTPUT_STREAM_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SVG_PARENT_FORM_CLIENT_ID_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SVG_WRITER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TABULAR_DATA_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VISUAL_EFFECTS_KEY |
CLICK_EVENT_TYPE, COMPONENT_FAMILY, COMPONENT_TYPE, DRILL_ACTION_KEY, DRILL_ACTION_TYPE, DRILL_REQUESTED_LISTENER_KEY, DRILL_REQUESTING_LISTENER_KEY, DRILLING_ENABLED_KEY, IMAGE_FORMAT_AUTO, IMAGE_FORMAT_FLASH, IMAGE_FORMAT_HTML5, IMAGE_FORMAT_PNG, IMAGE_FORMAT_PNG_STAMPED, IMAGE_FORMAT_SVG, immediate, lazy, logger, LOGGERCLASS, m_locale, PARTIAL_SUBMIT_KEY, PARTIAL_TRIGGERS_KEY, TOKEN_SUBSTITUTION_KEY, VALUE_KEY
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
Constructor and Description |
---|
UIImageView() |
UIImageView(java.lang.String rendererType) |
Modifier and Type | Method and Description |
---|---|
void |
addClickListener(ClickListener listener) |
void |
broadcast(javax.faces.event.FacesEvent event)
Broadcast an event to a MethodBinding.
|
abstract java.lang.String |
convertCompIdToFacetName(int id)
Subclasses must implement this method.
|
javax.el.MethodExpression |
getActionExpression() |
ActiveDataProperties |
getActiveDataProperties() |
java.awt.Color |
getAnimationDownColor()
Returns the color used to indicate that a data value has decreased.
|
int |
getAnimationDuration()
Returns the animation duration in milliseconds
Supported in ADF Faces only.
|
int |
getAnimationIndicators()
Returns which data change indicators should be shown.
|
int |
getAnimationOnDataChange()
Returns the type of data change animations to apply.
|
int |
getAnimationOnDisplay()
Returns the type of initial rendering effect to apply.
|
java.awt.Color |
getAnimationUpColor()
Returns the color used to indicate that a data value has increased.
|
java.util.List<AttributeFormat> |
getAttributeFormats()
Get the attribute format components for this view.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
javax.el.MethodExpression |
getClickAction() |
javax.el.MethodExpression |
getClickListener() |
ClickListener[] |
getClickListeners() |
protected ComponentHandle |
getComponentHandle()
Convenience method for
ComponentHandle subclasses
to get instance of ComponentHandle . |
java.lang.String |
getContentDelivery()
Retrieves whether the content of the imageView is delivered immediately or lazily.
|
java.lang.String |
getCustomizationId()
Deprecated.
The 'id' attribute should be used when applying persistent customizations.
This attribute will be removed in the next release.
|
DataUpdateCache |
getDataCache()
Deprecated.
this method should not be used by applications
|
java.lang.String |
getDataUpdateHint()
Deprecated.
this method should not be used by applications
|
int |
getDisposition() |
java.lang.String |
getDynamicResize()
This property is used to support dynamic resizing of the graph
and gauge.
|
int |
getFlashDefaultFontLoading()
Deprecated.
Determine whether default fonts are loaded in FLASH from the middle tier.
Valid values are defined in this class:
FLASH_DEFAULT_FONT_LOADING_ALL and FLASH_DEFAULT_FONT_LOADING_NONE.
The default value is FLASH_DEFAULT_FONT_LOADING_ALL.
Supported in ADF Faces only.
|
static java.lang.String |
getFlashRenderingEngineSwfPath(javax.faces.context.FacesContext context) |
java.lang.String |
getFlashVarsString(java.lang.String clientId) |
java.util.Map |
getFontURLMap()
Get a Map containing fontNames and URLs to their font files.
|
int |
getImageFormat()
Deprecated.
Use the oracle.adf.view.rich.dvt.DEFAULT_IMAGE_FORMAT
context parameter instead. The component will use the specified default
if possible, falling back to alternate output formats as needed based on the client browser.
|
int |
getImageHeight()
Deprecated.
use getInlineStyle instead
|
java.lang.String |
getImageSource()
Retrieves a string providing a URI that will be used as a value for SRC
attribute of the IMG HTML tag
|
ImageView |
getImageView()
Convenience method to retrieve the
ImageView
instance of this image view. |
int |
getImageWidth()
Deprecated.
use getInlineStyle instead
|
java.lang.String |
getInlineStyle()
Gets Specifies CSS styles to use for this component.
|
java.lang.String |
getOtherProperties()
Deprecated.
UIComponent APIs should be used instead.
|
java.awt.Rectangle |
getPopupHelperBounds()
Returns the bounds used to help position a popup within the imageview region.
|
boolean |
getRendersChildren() |
protected ShapeAttributes |
getShapeAttributes()
Convenience method for
UIDataview subclasses
to get instance of ShapeAttributes . |
ShapeAttributesCallback |
getShapeAttributesCallback()
Retrieves the
ShapeAttributesCallback that this
CoreGraph . |
ShapeAttributesSet |
getShapeAttributesSet() |
java.lang.String |
getShortDesc()
Get the short description text for this view.This text is useful
when the view is in screen reader mode
The default value is null.
|
java.lang.String |
getStyleClass()
Retrieves the CSS style class to use for this component.
|
int |
getSvgDisposition()
Deprecated.
use getDisposition instead
|
int |
getSvgFontEmbedding()
Deprecated.
|
java.io.OutputStream |
getSvgOutputStream() |
java.lang.String |
getSvgParentFormClientId() |
java.util.List |
getSvgScriptIdList() |
java.io.Writer |
getSvgWriter() |
java.util.List |
getTabularData() |
int |
getVisualEffects()
Returns the type or types of visualEffect to apply.
|
boolean |
isDrillingEnabled()
Indicates whether drilling is allowed in this view.
|
boolean |
isRenderImagemap()
Retrieves whether image map should be generated.
|
boolean |
isSvgEncodingScriptTag() |
boolean |
isTransferProperties() |
boolean |
isUpdated() |
void |
removeClickListener(ClickListener listener) |
void |
setActiveDataProperties(ActiveDataProperties activeDataProperties) |
void |
setAnimationDownColor(java.awt.Color clr)
Specifies the color used to indicate that a data value has decreased.
|
void |
setAnimationDuration(int duration)
Specifies the animation duration in milliseconds
Supported in ADF Faces only.
|
void |
setAnimationIndicators(int type)
Specifies which data change indicators should be shown.
|
void |
setAnimationIndicators(java.lang.String type)
Specifies which data change indicators should be shown.
|
void |
setAnimationOnDataChange(int type)
Specifies the type of data change animations to apply.
|
void |
setAnimationOnDataChange(java.lang.String type)
Specifies the type of data change animation to apply.
|
void |
setAnimationOnDisplay(int type)
Specifies the type of initial rendering effect to apply.
|
void |
setAnimationOnDisplay(java.lang.String type)
Specifies the type of data change animation to apply.
|
void |
setAnimationUpColor(java.awt.Color clr)
Specifies the color used to indicate that a data value has increased.
|
void |
setAttributeFormats(java.util.List<AttributeFormat> attributeFormats)
Set the list of AttributeFormat components for this view.
|
void |
setClickAction(javax.el.MethodExpression clickAction) |
void |
setClickListener(javax.el.MethodExpression clickListener) |
protected void |
setComponentHandle(ComponentHandle handle)
Convenience method for
ComponentHandle subclasses
to set instance of ComponentHandle . |
void |
setContentDelivery(int delivery)
Specifies whether content is sent with the page load or after
the page load.
|
void |
setContentDelivery(java.lang.String delivery)
Specifies whether the content of the imageView is delivered immediately or lazily.
|
void |
setCustomizationId(java.lang.String customizationId)
Deprecated.
The 'id' attribute should be used when applying persistent customizations.
This attribute will be removed in the next release.
|
void |
setDataCache(DataUpdateCache cache)
Deprecated.
this method should not be used by applications
|
void |
setDataUpdateHint(java.lang.String hint)
Deprecated.
this method should not be used by applications
|
void |
setDisposition(int disposition) |
void |
setDrillingEnabled(boolean b)
Specifies whether drilling is allowed in this view.
|
void |
setDynamicResize(java.lang.String dynamicResize)
This property is used to support dynamic resizing of the graph and
gauge.
|
void |
setFlashDefaultFontLoading(int loading)
Deprecated.
Set whether default fonts are loaded in FLASH from the middle tier.
Valid values are defined in this class:
FLASH_DEFAULT_FONT_LOADING_ALL and FLASH_DEFAULT_FONT_LOADING_NONE.
The default value is FLASH_DEFAULT_FONT_LOADING_ALL.
Supported in ADF Faces only.
|
void |
setFlashDefaultFontLoading(java.lang.String loading)
Deprecated.
Set whether default fonts are loaded in FLASH from the middle tier.
Valid values are defined in this class:
FLASH_DEFAULT_FONT_LOADING_ALL and FLASH_DEFAULT_FONT_LOADING_NONE.
The default value is FLASH_DEFAULT_FONT_LOADING_ALL.
Supported in ADF Faces only.
|
void |
setFontURLMap(java.util.Map urlMap)
Set a Map containing fontNames and URLs to their font files.
|
void |
setImageFormat(int format)
Deprecated.
Use the oracle.adf.view.rich.dvt.DEFAULT_IMAGE_FORMAT
context parameter instead. The component will use the specified default
if possible, falling back to alternate output formats as needed based on the client browser.
|
void |
setImageFormat(java.lang.String format)
Deprecated.
Use the oracle.adf.view.rich.dvt.DEFAULT_IMAGE_FORMAT
context parameter instead. The component will use the specified default
if possible, falling back to alternate output formats as needed based on the client browser.
|
void |
setImageHeight(int height)
Deprecated.
use setInlineStyle instead
|
void |
setImageSource(java.lang.String source)
Specifies a URI that will be used as a value for SRC attribute of the IMG
HTML tag .
|
void |
setImageView(ImageView cmnIV)
Sets the given instance of
ImageView for this
image-based view. |
void |
setImageWidth(int width)
Deprecated.
use setInlineStyle instead
|
void |
setInlineStyle(java.lang.String inlineStyle)
Sets Specifies CSS styles to use for this component.
|
void |
setOtherProperties(java.lang.String xml)
Deprecated.
UIComponent APIs should be used instead.
|
void |
setPopupHelperBounds(java.awt.Rectangle bounds)
Sets the bounds used to help in positioning a popup within the imageview region.
|
protected void |
setProperty(org.apache.myfaces.trinidad.bean.PropertyKey key,
java.lang.Object value) |
void |
setRenderImagemap(boolean render)
Specifies whether an image map should be rendered.
|
protected void |
setShapeAttributes(ShapeAttributes attrs)
Convenience method for
UIDataview subclasses
to set instance of ShapeAttributes . |
void |
setShapeAttributesCallback(ShapeAttributesCallback callback)
Specifies the
ShapeAttributesCallback that will provide
ShapeAttributes such as onClick, onFocus etc for this CoreGraph . |
void |
setShapeAttributesSet(ShapeAttributesSet shapeAttributesSet) |
void |
setShortDesc(java.lang.String text)
Set the short description text for this view.
|
void |
setStyleClass(java.lang.String styleClass)
Sets a CSS style class to use for this component.
|
void |
setSvgDisposition(int disposition)
Deprecated.
use setDisposition instead
|
void |
setSvgEncodingScriptTag(boolean bEncode) |
void |
setSvgFontEmbedding(int embedding)
Deprecated.
|
void |
setSvgFontEmbedding(java.lang.String embedding)
Deprecated.
|
void |
setSvgOutputStream(java.io.OutputStream stream) |
void |
setSvgParentFormClientId(java.lang.String id) |
void |
setSvgWriter(java.io.Writer writer) |
void |
setTabularData(java.util.List tableRows)
Specifies data for the
Graph , from a table of data. |
void |
setUpdated(boolean updated) |
void |
setVisualEffects(int type)
Specifies the type or types of visual effects to apply.
|
void |
setVisualEffects(java.lang.String type)
Specifies the type or types of visualEffect to apply.
|
void |
transferProperties()
Configures the ImageView with the properties from the UIImageView.
|
_getLayerLabel, _getMemberLabel, _getMemberLabel, addActionListener, addDrillListener, clearWaitDataForAllRows, drill, fireEventToAppListener, getAction, getActionListener, getActionListeners, getActionType, getConverter, getDataModel, getDefaultDataModel, getDescription, getDrillAction, getDrillListeners, getDrillRequestedListener, getDrillRequestingListener, getFacet, getFamily, getLayerLabel, getLayerMetadataLabelType, getLayerMetadataLabelType, getLocalValue, getMemberLabel, getMemberLabel, getMemberMetadataLabelType, getMemberMetadataLabelType, getPartialTriggers, getSuppressFontName, getTokenSubstitution, getValue, getWaitDataForRow, getXMLAsString, getZoomFactor, initialize, isEnabled, isImmediate, isLayerMetadataLabelTypeSupported, isMemberMetadataLabelTypeSupported, isPartialSubmit, queueEvent, removeActionListener, removeDrillListener, setAction, setActionExpression, setActionListener, setActionType, setConverter, setDataModel, setDescription, setDrillAction, setDrillRequestedListener, setDrillRequestingListener, setEnabled, setImmediate, setLayerMetadataLabelType, setLayerMetadataLabelType, setMemberMetadataLabelType, setMemberMetadataLabelType, setPartialSubmit, setPartialTriggers, setSuppressFontName, setTokenSubstitution, setValue, setWaitDataForRow, setXMLAsString, specifyPersistableAttributes
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getComponentChangeFilters, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTree
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public static final int SVG_FONT_EMBEDDING_NONE
public static final int SVG_FONT_EMBEDDING_ALL
@Deprecated public static final int FLASH_DEFAULT_FONT_LOADING_NONE
@Deprecated public static final int FLASH_DEFAULT_FONT_LOADING_ALL
@Deprecated public static final int SVG_DISPOSITION_STANDALONE
@Deprecated public static final int SVG_DISPOSITION_FRAGMENT
public static final int DISPOSITION_STANDALONE
public static final int DISPOSITION_FRAGMENT
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey IMAGE_SOURCE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERMAP_KEY
@Deprecated public static final org.apache.myfaces.trinidad.bean.PropertyKey IMAGE_WIDTH_KEY
@Deprecated public static final org.apache.myfaces.trinidad.bean.PropertyKey IMAGE_HEIGHT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey IMAGE_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SVG_FONT_EMBEDDING_KEY
@Deprecated public static final org.apache.myfaces.trinidad.bean.PropertyKey FLASH_DEFAULT_FONT_LOADING_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FONT_URL_MAP_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SVG_OUTPUT_STREAM_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SVG_WRITER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SVG_PARENT_FORM_CLIENT_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SVG_DISPOSITION_KEY
@Deprecated public static final org.apache.myfaces.trinidad.bean.PropertyKey OTHER_PROPERTIES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TABULAR_DATA_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHAPE_ATTRS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHAPE_ATTRIBUTES_SET_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLICK_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLICK_ACTION_KEY
public static final java.lang.String FLASH_CHART_SWF_NAME
public static final java.lang.String FLASH_IS_ADS_TWO
public static final java.lang.String CHART_SWF_PATH
public static final java.lang.String ROWS_AS_SERIES
public static final java.lang.String CONTENT_DELIVERY
public static final java.lang.String INLINE_STYLE
public static final java.lang.String DYNAMIC_RESIZE
public static final org.apache.myfaces.trinidad.bean.PropertyKey CHART_SWF_PATH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey FLASH_IS_ADS_TWO_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ACTIVEDATA_PROPERTIES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ROWS_AS_SERIES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_DELIVERY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DYNAMIC_RESIZE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey IN_POPUP_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ANIMATION_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ANIMATION_INDICATORS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ANIMATION_UP_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ANIMATION_DOWN_COLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ANIMATION_DURATION_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INIT_EFFECTS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VISUAL_EFFECTS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ATTRIBUTE_FORMATS_KEY
public static final java.lang.Object PIVOT_ACTION_TYPE
public static final java.lang.String SHAPE_ATTRIBUTES_SET
public static final java.lang.String DR_FIXED
public static final java.lang.String DR_DYNAMIC
public UIImageView()
public UIImageView(java.lang.String rendererType)
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
UIDataView
broadcast
in class UIDataView
javax.faces.event.AbortProcessingException
public void addClickListener(ClickListener listener)
public void removeClickListener(ClickListener listener)
public ClickListener[] getClickListeners()
public final javax.el.MethodExpression getClickListener()
public final void setClickListener(javax.el.MethodExpression clickListener)
public final javax.el.MethodExpression getClickAction()
public final void setClickAction(javax.el.MethodExpression clickAction)
public javax.el.MethodExpression getActionExpression()
getActionExpression
in interface javax.faces.component.ActionSource2
getActionExpression
in class UIDataView
public ShapeAttributesCallback getShapeAttributesCallback()
ShapeAttributesCallback
that this
CoreGraph
.ShapeAttributesCallback
that provides ShapeAttributes
such as onClick, onFocus etc. Returns null
if no
ShapeAttributesCallback
has been set.public void setShapeAttributesCallback(ShapeAttributesCallback callback)
ShapeAttributesCallback
that will provide
ShapeAttributes such as onClick, onFocus etc for this CoreGraph
.
This callback should be used for specifying ShapeAttributes programmatically.
In order to specify ShapeAttributes declaratively, use ShapeAttributesSet.callback
- The ShapeAttributesCallback
public final void setImageView(ImageView cmnIV)
ImageView
for this
image-based view.cmnIV
- Instance of ImageView
public final ImageView getImageView()
ImageView
instance of this image view. Before using ImageView APIs that rely on
attribute values from this UIImageView, the transferProperties() method
should first be called to update the ImageView with the dataModel and
attributes from this UIImageView.ImageView
public void transferProperties()
public java.util.List getSvgScriptIdList()
public void setImageSource(java.lang.String source)
source
- URI that will be used as a value for SRC attribute of the IMG
HTML tag .public java.lang.String getImageSource()
public void setRenderImagemap(boolean render)
render
- A flag specifying whether an image map should be rendered
If this parameter is not specified, it defaults to true .public boolean isRenderImagemap()
@Deprecated public void setImageWidth(int width)
width
- the width of this view in pixels.@Deprecated public int getImageWidth()
@Deprecated public void setImageHeight(int height)
height
- the height of this view in pixels.@Deprecated public int getImageHeight()
public void setDrillingEnabled(boolean b)
setDrillingEnabled
in class UIDataView
b
- true
to enable drilling;
false
to disable drilling.public final boolean isDrillingEnabled()
isDrillingEnabled
in class UIDataView
true
if drilling is enabled,
false
if drilling is disabled.public void setShortDesc(java.lang.String text)
text
- short descriptionpublic java.lang.String getShortDesc()
@Deprecated public void setImageFormat(int format)
UIDataView
and
begin with IMAGE_FOMART_.
Supported in ADF Faces only.format
- A constant that represents the image format.@Deprecated public void setImageFormat(java.lang.String format)
format
- A constant that represents the image format.@Deprecated public int getImageFormat()
@Deprecated public void setSvgFontEmbedding(int embedding)
embedding
- constant indicating whether fonts are embedded in SVG@Deprecated public void setSvgFontEmbedding(java.lang.String embedding)
embedding
- constant indicating whether fonts are embedded in SVG@Deprecated public int getSvgFontEmbedding()
public void setSvgParentFormClientId(java.lang.String id)
id
- parent form client IDpublic java.lang.String getSvgParentFormClientId()
public void setSvgOutputStream(java.io.OutputStream stream)
stream
- OutputStream to write SVG topublic java.io.OutputStream getSvgOutputStream()
public void setSvgWriter(java.io.Writer writer)
writer
- Writer to write SVG topublic java.io.Writer getSvgWriter()
@Deprecated public void setSvgDisposition(int disposition)
disposition
- how the SVG will be used@Deprecated public int getSvgDisposition()
public void setDisposition(int disposition)
disposition
- how the graph will be usedpublic int getDisposition()
@Deprecated public java.lang.String getOtherProperties()
@Deprecated public void setOtherProperties(java.lang.String xml)
xml
- other properties in the form of XMLpublic void setTabularData(java.util.List tableRows)
Graph
, from a table of data.
Use this method to provide data row-by-row, from a file of
tab-delimited or comma-separated values, or from a JDBC
ResultSet
.
When you use this method, you extract values from the file or
ResultSet
, organize them, and then pass them all in
one call to this method.
The graph creates a grid of data from the data that you pass in, and
it uses this grid to populate itself.
For each data value in the table or result set, you construct
an array of three Objects
:
String
.
If the graph has a time axis, then this should be a Java
Date
.
Column labels appear as group labels in the graph, unless
DataRowShownAsASeries
is false
.String
. Row labels appear as
series labels in the graph (usually in the legend), unless
DataRowShownAsASeries
is false
.
In this case, if the graph has a time axis, then
this should be a Java Date
.Double
.
You add each Object
array to a List
(normally an ArrayList
or a Vector
).
You pass the complete List
to this method.
The following table shows a set of data to pass to the graph through this method:
Boston | Bowties | 97300 |
Boston | Neckties | 413812 |
Cleveland | Bowties | 48025 |
Cleveland | Neckties | 298511 |
The Object
arrays would look like this, if you want
the types of ties to appear in the legend (assuming that data rows in
the grid represent series):
Object[] tableRow1 = {"Boston", "Bowties", new Double(97300)}; Object[] tableRow2 = {"Boston", "Neckties", new Double(413812)}; Object[] tableRow3 = {"Cleveland", "Bowties", new Double(48025)}; Object[] tableRow4 = {"Cleveland", "Neckties", new Double(298511)}; // add the arrays to aList
ArrayList data = new ArrayList(); data.add(tableRow1); data.add(tableRow2); data.add(tableRow3); data.add(tableRow4); // pass theList
to this method graph.setTabularData(data);
The grid that this method constructs and feeds to the graph looks like this:
Boston | Cleveland | |
Bowties | 97300 | 48025 |
Neckties | 413812 | 298511 |
Note that the data is not interactive. If you want users to be able to rotate or drill, you will have to provide a way for them to express that intention, and you must call this method again to display the rearranged data.
tableRows
- List
of data to plot in the graph.public java.util.List getTabularData()
public boolean getRendersChildren()
getRendersChildren
in class org.apache.myfaces.trinidad.component.UIXComponentBase
protected ComponentHandle getComponentHandle()
ComponentHandle
subclasses
to get instance of ComponentHandle
.ComponentHandle
protected void setComponentHandle(ComponentHandle handle)
ComponentHandle
subclasses
to set instance of ComponentHandle
.handle
- Instance of ComponentHandle
protected ShapeAttributes getShapeAttributes()
UIDataview
subclasses
to get instance of ShapeAttributes
.ShapeAttributes
protected void setShapeAttributes(ShapeAttributes attrs)
UIDataview
subclasses
to set instance of ShapeAttributes
.attrs
- Instance of ShapeAttributes
public abstract java.lang.String convertCompIdToFacetName(int id)
public ShapeAttributesSet getShapeAttributesSet()
public void setShapeAttributesSet(ShapeAttributesSet shapeAttributesSet)
public void setSvgEncodingScriptTag(boolean bEncode)
bEncode
- true to encode script tag, false to not encode script tagpublic boolean isSvgEncodingScriptTag()
public boolean isTransferProperties()
public ActiveDataProperties getActiveDataProperties()
public void setActiveDataProperties(ActiveDataProperties activeDataProperties)
public void setContentDelivery(int delivery)
delivery
- A constant that represents the contentDelivery setting.public void setContentDelivery(java.lang.String delivery)
delivery
- A constant that represents the contentDelivery setting.public java.lang.String getContentDelivery()
public final void setInlineStyle(java.lang.String inlineStyle)
inlineStyle
- the new inlineStyle valuepublic final java.lang.String getInlineStyle()
public java.lang.String getStyleClass()
public void setStyleClass(java.lang.String styleClass)
styleClass
- the imageView's style classpublic final void setDynamicResize(java.lang.String dynamicResize)
dynamicResize
- the new dynamicResize valuepublic final java.lang.String getDynamicResize()
@Deprecated public java.lang.String getCustomizationId()
@Deprecated public void setCustomizationId(java.lang.String customizationId)
customizationId
- the new customizationId valuepublic int getAnimationOnDataChange()
public void setAnimationOnDataChange(int type)
type
- The data change animation to applypublic void setAnimationOnDataChange(java.lang.String type)
type
- Valid values are: public int getAnimationIndicators()
public void setAnimationIndicators(int type)
type
- the types of data change indicators to showpublic void setAnimationIndicators(java.lang.String type)
type
- the types of data change indicators to show.
public java.awt.Color getAnimationUpColor()
public void setAnimationUpColor(java.awt.Color clr)
clr
- Color to indicate that a data value increased.public java.awt.Color getAnimationDownColor()
public void setAnimationDownColor(java.awt.Color clr)
clr
- Color to indicate that a data value decreased.public int getAnimationDuration()
public void setAnimationDuration(int duration)
duration
- public int getAnimationOnDisplay()
public void setAnimationOnDisplay(int type)
type
- Type of initial rendering effectpublic void setAnimationOnDisplay(java.lang.String type)
type
- Valid values are: public int getVisualEffects()
public void setVisualEffects(int type)
type
- Type of visual effect to applypublic void setVisualEffects(java.lang.String type)
type
- Valid values are: @Deprecated public void setFlashDefaultFontLoading(int loading)
loading
- constant indicating whether default fonts are loaded
in FLASH from the middle-tier@Deprecated public void setFlashDefaultFontLoading(java.lang.String loading)
loading
- constant indicating whether default fonts are loaded
in FLASH from the middle-tier@Deprecated public int getFlashDefaultFontLoading()
public void setFontURLMap(java.util.Map urlMap)
urlMap
- instance of Map containing a mapping of font names and URL'spublic java.util.Map getFontURLMap()
public java.util.List<AttributeFormat> getAttributeFormats()
public void setAttributeFormats(java.util.List<AttributeFormat> attributeFormats)
a
- list of AttributeFormat componentspublic static java.lang.String getFlashRenderingEngineSwfPath(javax.faces.context.FacesContext context)
public java.lang.String getFlashVarsString(java.lang.String clientId)
clientId
- client Id of this component@Deprecated public void setDataUpdateHint(java.lang.String hint)
hint
- @Deprecated public java.lang.String getDataUpdateHint()
@Deprecated public void setDataCache(DataUpdateCache cache)
cache
- @Deprecated public DataUpdateCache getDataCache()
public boolean isUpdated()
public void setUpdated(boolean updated)
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class UIDataView
protected void setProperty(org.apache.myfaces.trinidad.bean.PropertyKey key, java.lang.Object value)
setProperty
in class org.apache.myfaces.trinidad.component.UIXComponentBase
public void setPopupHelperBounds(java.awt.Rectangle bounds)
bounds
- public java.awt.Rectangle getPopupHelperBounds()