|
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.dataView.BaseComponentXML
oracle.dss.graph.BaseGraphComponent
oracle.dss.graph.BaseText
oracle.dss.graph.MarkerText
public class MarkerText
Describes the marker in the plot area of all graphs except for pie, pie-bar, ring, and ring-bar.
Field Summary | |
---|---|
protected ViewFormat |
m_viewFormatStockVolume
|
protected ViewFormat |
m_viewFormatX1
|
protected ViewFormat |
m_viewFormatY1
|
protected ViewFormat |
m_viewFormatY2
|
protected ViewFormat |
m_viewFormatZ
|
static java.lang.String |
StockVolumeViewFormat_Name
|
protected static java.lang.String |
ViewFormat_Name
|
static java.lang.String |
X1ViewFormat_Name
|
static java.lang.String |
Y1ViewFormat_Name
|
static java.lang.String |
Y2ViewFormat_Name
|
static java.lang.String |
ZViewFormat_Name
|
Fields inherited from class oracle.dss.graph.BaseText |
---|
m_font |
Fields inherited from class oracle.dss.dataView.BaseComponentXML |
---|
m_jsfHashMap |
Constructor Summary | |
---|---|
MarkerText(CommonGraph graph)
|
Method Summary | |
---|---|
static int |
convertMarkerTextPlaceToInt(java.lang.String str)
|
protected java.lang.String |
convertMarkerTextPlaceToString(int textPlace)
|
void |
formatChanged(int attributeId,
java.lang.String attributeName,
java.lang.Object oldValue,
java.lang.Object newValue)
|
protected java.lang.String |
getComponentName()
|
int |
getMarkerTextAngleDefault()
Retrieves the angle for this marker text. |
int |
getMarkerTextPlace()
Retrieves the placement for this marker text. |
int |
getMarkerTextRadiusDefault()
Retrieves the distance from this marker text to the top center of the marker that it belongs to. |
boolean |
getNonstyleXML(boolean allProperties,
oracle.dss.util.xml.ObjectNode node)
Retrieves Non style properties of this component to XML returns whether if the node exists |
protected oracle.dss.util.xml.ObjectNode |
getStockVolumeViewFormatXML(boolean allProperties)
|
boolean |
getStyleXML(boolean allProperties,
oracle.dss.util.xml.ObjectNode node)
|
ViewFormat |
getViewFormat(int value)
Retrieves a ViewFormat object for this marker text. |
protected oracle.dss.util.xml.ObjectNode |
getX1ViewFormatXML(boolean allProperties)
|
protected oracle.dss.util.xml.ObjectNode |
getY1ViewFormatXML(boolean allProperties)
|
protected oracle.dss.util.xml.ObjectNode |
getY2ViewFormatXML(boolean allProperties)
|
protected oracle.dss.util.xml.ObjectNode |
getZViewFormatXML(boolean allProperties)
|
boolean |
isVisible()
Indicates whether this marker text is visible. |
protected void |
resetStyle()
|
void |
resetToDefault()
|
boolean |
selectObject(int series,
int group)
This method is designed to select a component of the graph. |
void |
setMarkerTextAngleDefault(int angle)
Specifies the angle of this marker text. |
void |
setMarkerTextPlace(int place)
Specifies the placement for this marker text. |
void |
setMarkerTextRadiusDefault(int dist)
Specifies the distance from this marker text to the top center of the marker that it belongs to. |
void |
setNonstyleXML(oracle.dss.util.xml.ObjectNode node,
java.lang.String version,
int reset)
|
void |
setStyleXML(oracle.dss.util.xml.ObjectNode node)
|
void |
setViewFormat(ViewFormat viewFormat,
int value)
Specifies a ViewFormat object for this marker text. |
void |
setVisible(boolean yesNo)
Specifies whether this marker text is visible. |
Methods inherited from class oracle.dss.graph.BaseText |
---|
_getGraphFont, getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute, setNonstyleXML |
Methods inherited from class oracle.dss.dataView.BaseComponentXML |
---|
getStyleXML, getXML, setXML, setXML, setXML, setXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String ViewFormat_Name
public static final java.lang.String X1ViewFormat_Name
public static final java.lang.String Y1ViewFormat_Name
public static final java.lang.String Y2ViewFormat_Name
public static final java.lang.String ZViewFormat_Name
public static final java.lang.String StockVolumeViewFormat_Name
protected ViewFormat m_viewFormatX1
protected ViewFormat m_viewFormatY1
protected ViewFormat m_viewFormatY2
protected ViewFormat m_viewFormatZ
protected ViewFormat m_viewFormatStockVolume
Constructor Detail |
---|
public MarkerText(CommonGraph graph)
graph
- The graph that this object belongs to.Method Detail |
---|
public void resetToDefault()
ViewFormat
that
specifies number formatting for the marker text in the graph.public boolean selectObject(int series, int group)
BaseGraphComponent
false
.
A subclass of this class must override this method in order to be selected.
selectObject
in class BaseGraphComponent
series
- The series
of the marker text that you want to
select.group
- The group
of the marker text that you want to
select.
true
if successful, false
if not.public int getMarkerTextAngleDefault()
For this property to take effect, the MarkerTextPlace
property must be set to BaseGraphComponent.MTP_CUSTOM
.
setMarkerTextPlace(int)
public void setMarkerTextAngleDefault(int angle)
For this property to take effect, the MarkerTextPlace
property must be set to BaseGraphComponent.MTP_CUSTOM
.
angle
- The angle of this marker text.setMarkerTextPlace(int)
public int getMarkerTextPlace()
BaseGraphComponent.MTP_OUTSIDE_MAX
,
BaseGraphComponent.MTP_ON_MAXEDGE
,
BaseGraphComponent.MTP_INSIDE_MAX
,
BaseGraphComponent.MTP_INSIDE_MIN
,
BaseGraphComponent.MTP_CENTER
,
BaseGraphComponent.MTP_CUSTOM
public void setMarkerTextPlace(int place)
place
- A constant that represents the placement for this marker
text.
Valid constants are listed in the See Also section.BaseGraphComponent.MTP_OUTSIDE_MAX
,
BaseGraphComponent.MTP_ON_MAXEDGE
,
BaseGraphComponent.MTP_INSIDE_MAX
,
BaseGraphComponent.MTP_INSIDE_MIN
,
BaseGraphComponent.MTP_CENTER
,
BaseGraphComponent.MTP_CUSTOM
public int getMarkerTextRadiusDefault()
For this property to take effect, the MarkerTextPlace
property must be set to BaseGraphComponent.MTP_CUSTOM
.
setMarkerTextPlace(int)
public void setMarkerTextRadiusDefault(int dist)
For this property to take effect, the MarkerTextPlace
property must be set to BaseGraphComponent.MTP_CUSTOM
.
dist
- The distance from this marker text to the top center of the
marker that it belongs to.setMarkerTextPlace(int)
public ViewFormat getViewFormat(int value)
ViewFormat
object for this marker text.
The ViewFormat
objects allow you to format numbers.
value
- A constant that represents the axis or stock volume
location for which you want a ViewFormat
for this marker text.
Valid constants are listed in the See Also section.
ViewFormat
object for this marker text.BaseGraphComponent.VF_STOCK_VOLUME
,
BaseGraphComponent.VF_X1
,
BaseGraphComponent.VF_Y1
,
BaseGraphComponent.VF_Y2
,
BaseGraphComponent.VF_Z
public void setViewFormat(ViewFormat viewFormat, int value)
ViewFormat
object for this marker text.
The ViewFormat
objects allow you to format numbers.
A
- ViewFormat
object for this marker text.value
- A constant that represents the axis or stock volume
location for which you want a ViewFormat
.
Valid constants are listed in the See Also section.BaseGraphComponent.VF_STOCK_VOLUME
,
BaseGraphComponent.VF_X1
,
BaseGraphComponent.VF_Y1
,
BaseGraphComponent.VF_Y2
,
BaseGraphComponent.VF_Z
public void formatChanged(int attributeId, java.lang.String attributeName, java.lang.Object oldValue, java.lang.Object newValue)
formatChanged
in interface BaseViewFormatCallback
attributeId
- the static constant in ViewFormat that identifies the
attributeattributeName
- the name of the attribute that changedoldValue
- the old value of the attributenewValue
- the new value of the attributepublic boolean isVisible()
true
if it is visible, false
if it is not.public void setVisible(boolean yesNo)
yesNo
- true
to make this marker text visible,
false
to make it invisible.protected java.lang.String convertMarkerTextPlaceToString(int textPlace)
public static int convertMarkerTextPlaceToInt(java.lang.String str)
protected oracle.dss.util.xml.ObjectNode getX1ViewFormatXML(boolean allProperties)
protected oracle.dss.util.xml.ObjectNode getY1ViewFormatXML(boolean allProperties)
protected oracle.dss.util.xml.ObjectNode getZViewFormatXML(boolean allProperties)
protected oracle.dss.util.xml.ObjectNode getY2ViewFormatXML(boolean allProperties)
protected oracle.dss.util.xml.ObjectNode getStockVolumeViewFormatXML(boolean allProperties)
protected java.lang.String getComponentName()
getComponentName
in class BaseComponentXML
public boolean getNonstyleXML(boolean allProperties, oracle.dss.util.xml.ObjectNode node)
BaseComponentXML
getNonstyleXML
in class BaseComponentXML
public boolean getStyleXML(boolean allProperties, oracle.dss.util.xml.ObjectNode node)
getStyleXML
in class BaseText
public void setNonstyleXML(oracle.dss.util.xml.ObjectNode node, java.lang.String version, int reset)
setNonstyleXML
in class BaseComponentXML
public void setStyleXML(oracle.dss.util.xml.ObjectNode node)
setStyleXML
in class BaseText
protected void resetStyle()
resetStyle
in class BaseText
|
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 |