public class MarkerText extends BaseTextComponent
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
m_defaultFontColor |
protected int |
m_defaultFontSize |
protected int |
m_defaultFontStyle |
protected java.lang.String |
m_defaultFontTypeface |
protected int |
m_defaultMarkerTextPlace |
protected boolean |
m_defaultRendered |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MARKER_TEXT_PLACE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RENDERED_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STOCK_VOLUME_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STOCK_VOLUME_NUMBER_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
X1_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
X1_NUMBER_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
Y1_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
Y1_NUMBER_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
Y2_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
Y2_NUMBER_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
Z_FORMAT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
Z_NUMBER_FORMAT_KEY |
GRAPH_FONT_KEYID_KEY, m_parent, TRANSIENT_KEY| Constructor and Description |
|---|
MarkerText() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProperties(java.util.HashMap map)
Applications do not need to call this method.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
int |
getMarkerTextPlace()
Retrieves the placement for this marker text.
|
BaseFormat |
getStockVolumeFormat()
Retrieves the base format for x1 axis
|
NumberFormat |
getStockVolumeNumberFormat()
Deprecated.
Use getStockVolumeFormat().getNumberFormat()
|
BaseFormat |
getX1Format()
Retrieves the base format for x1 axis
|
NumberFormat |
getX1NumberFormat()
Deprecated.
Use getX1Format().getNumberFormat()
|
BaseFormat |
getY1Format()
Retrieves the base format for x1 axis
|
NumberFormat |
getY1NumberFormat()
Deprecated.
Use getY1Format().getNumberFormat()
|
BaseFormat |
getY2Format()
Retrieves the base format for x1 axis
|
NumberFormat |
getY2NumberFormat()
Deprecated.
Use getY2Format().getNumberFormat()
|
BaseFormat |
getZFormat()
Retrieves the base format for x1 axis
|
NumberFormat |
getZNumberFormat()
Deprecated.
Use getZFormat().getNumberFormat()
|
boolean |
isRendered()
Indicates whether this marker text is rendered.
|
protected void |
resetStyleProperties() |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj) |
void |
setMarkerTextPlace(int place)
Specifies the placement for this marker text.
|
void |
setMarkerTextPlace(java.lang.String place)
Specifies the placement for this marker text.
|
void |
setRendered(boolean rendered)
Specifies whether this marker text is rendered.
|
void |
setStockVolumeFormat(BaseFormat baseFormat)
Specifies the base format for x1 axis
|
void |
setStockVolumeNumberFormat(NumberFormat format)
Deprecated.
Use getStockVolumeFormat().setNumberFormat()
|
void |
setX1Format(BaseFormat baseFormat)
Specifies the base format for x1 axis
|
void |
setX1NumberFormat(NumberFormat format)
Deprecated.
Use getX1Format().setNumberFormat()
|
void |
setY1Format(BaseFormat baseFormat)
Specifies the base format for x1 axis
|
void |
setY1NumberFormat(NumberFormat format)
Deprecated.
Use getY1Format().setNumberFormat()
|
void |
setY2Format(BaseFormat baseFormat)
Specifies the base format for x1 axis
|
void |
setY2NumberFormat(NumberFormat format)
Deprecated.
Use getY2Format().setNumberFormat()
|
void |
setZFormat(BaseFormat baseFormat)
Specifies the base format for x1 axis
|
void |
setZNumberFormat(NumberFormat format)
Deprecated.
Use getZFormat().setNumberFormat()
|
getGraphFont, setGraphFontgetBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdatedprotected int m_defaultMarkerTextPlace
protected boolean m_defaultRendered
protected java.lang.String m_defaultFontTypeface
protected int m_defaultFontStyle
protected int m_defaultFontSize
protected java.awt.Color m_defaultFontColor
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey MARKER_TEXT_PLACE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey X1_NUMBER_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey Y1_NUMBER_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey Y2_NUMBER_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey Z_NUMBER_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STOCK_VOLUME_NUMBER_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey X1_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey Y1_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey Y2_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey Z_FORMAT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STOCK_VOLUME_FORMAT_KEY
public int getMarkerTextPlace()
BaseGraphComponent.MTP_OUTSIDE_MAX,
BaseGraphComponent.MTP_ON_MAXEDGE,
BaseGraphComponent.MTP_INSIDE_MAX,
BaseGraphComponent.MTP_INSIDE_MIN,
BaseGraphComponent.MTP_CENTER,
BaseGraphComponent.MTP_LEFT,
BaseGraphComponent.MTP_RIGHT,
BaseGraphComponent.MTP_CUSTOMpublic 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_LEFT,
BaseGraphComponent.MTP_RIGHT,
BaseGraphComponent.MTP_CUSTOMpublic void setMarkerTextPlace(java.lang.String place)
place - A constant that represents the placement for this marker
text.
public boolean isRendered()
true if it is rendered, false if it is not.public void setRendered(boolean rendered)
yesNo - true to make this marker text rendered,
false to make it not rendered.public void applyProperties(java.util.HashMap map)
BIComplexAttributeBaseapplyProperties in class BIComplexAttributeBasemap - hashMap that contains property value pairs.protected void resetStyleProperties()
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj)
restoreState in interface javax.faces.component.StateHolderrestoreState in class BIComplexAttributeBase@Deprecated public NumberFormat getX1NumberFormat()
public void setX1NumberFormat(NumberFormat format)
@Deprecated public NumberFormat getY1NumberFormat()
@Deprecated public void setY1NumberFormat(NumberFormat format)
@Deprecated public NumberFormat getY2NumberFormat()
public void setY2NumberFormat(NumberFormat format)
@Deprecated public NumberFormat getZNumberFormat()
@Deprecated public void setZNumberFormat(NumberFormat format)
@Deprecated public NumberFormat getStockVolumeNumberFormat()
@Deprecated public void setStockVolumeNumberFormat(NumberFormat format)
public BaseFormat getX1Format()
public void setX1Format(BaseFormat baseFormat)
baseFormat - the base formatpublic BaseFormat getY1Format()
public void setY1Format(BaseFormat baseFormat)
baseFormat - the base formatpublic BaseFormat getY2Format()
public void setY2Format(BaseFormat baseFormat)
baseFormat - the base formatpublic BaseFormat getZFormat()
public void setZFormat(BaseFormat baseFormat)
baseFormat - the base formatpublic BaseFormat getStockVolumeFormat()
public void setStockVolumeFormat(BaseFormat baseFormat)
baseFormat - the base formatprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class BIComplexAttributeBase