public class BarChartThemeFOI extends NSDPTheme implements StyleThemeFOI
Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BARHEIGHT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
BARWIDTH_KEY |
static int |
DEFAULT_BARCHARTHEIGHT |
static int |
DEFAULT_BARCHARTWIDTH |
static boolean |
DEFAULT_SHOWXAXIS |
static java.lang.String |
DEFAULT_STYLENAME |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWXAXIS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLENAME_KEY |
static java.lang.String |
THEMETYPE |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
LOCATIONCOLUMN_KEY, THEMENAME_KEY
CLICKACTION_KEY, CLICKLISTENER_KEY, CONVERTER_KEY, INFOWINDOWCALLBACK_KEY, LEFTCLICKBEHAVIOR_KEY, logger, LOGGERCLASS, MAXZOOM_KEY, MENULABEL_KEY, MINZOOM_KEY, RENDERED_KEY, RIGHTCLICKBEHAVIOR_KEY, SCALING_KEY, SELECTIONLISTENER_KEY, SHORTLABEL_KEY, USEWINDOW_KEY, VALUE_KEY, WINDOWHEIGHT_KEY, WINDOWWIDTH_KEY
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
BarChartThemeFOI() |
Modifier and Type | Method and Description |
---|---|
int |
getBarHeight()
Return the height of the bar chart in pixels
|
BarThemeInfoSet |
getBarThemeInfoSet() |
int |
getBarWidth()
Return the width of the bar chart.
|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.lang.String |
getDefaultStyleName()
For internal use only.
|
java.lang.String |
getInternalThemeType()
For internal use only.
|
java.lang.String[] |
getNonStyleColors()
For internal use only.
|
java.lang.String |
getStyleName()
Return the styleName for this theme
|
boolean |
isShowXAxis()
Indicates whether to show X Axis or not
|
void |
setBarHeight(int barHeight)
Specifies the height of the bar chart.
|
void |
setBarWidth(int barWidth)
Specifies the width of the bar chart.
|
void |
setShowXAxis(boolean showXAxis)
Specifies whether to show X axis of the bar graph or not.
|
void |
setStyleName(java.lang.String styleName)
Applies a style to the slices of the bars based on the specified XML
file.
|
getLocationColumn, getThemeName, setLocationColumn, setThemeName
convertLeftClickBehavior, convertRightClickBehavior, getClickAction, getClickListener, getColorFromStyle, getConverter, getInfoWindowCallback, getLeftClickBehavior, getMaxZoom, getMenuLabel, getMinZoom, getNumberFormat, getProperty, getRightClickBehavior, getScaling, getSelectionListener, getShortLabel, getThemeClientSideLeftClickBehavior, getThemeClientSideRightClickBehavior, getWindowHeight, getWindowWidth, isLoaded, isNumberFormatSpecified, isRendered, isToolbarVisible, isUseWindow, setClickAction, setClickListener, setConverter, setInfoWindowCallback, setLeftClickBehavior, setLoaded, setMaxZoom, setMenuLabel, setMinZoom, setNumberFormat, setRendered, setRightClickBehavior, setScaling, setSelectionListener, setShortLabel, setToolbarVisible, setUseWindow, setWindowHeight, setWindowWidth
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
public static final java.lang.String DEFAULT_STYLENAME
public static final int DEFAULT_BARCHARTWIDTH
public static final int DEFAULT_BARCHARTHEIGHT
public static final boolean DEFAULT_SHOWXAXIS
public static final java.lang.String THEMETYPE
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey BARWIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BARHEIGHT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWXAXIS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLENAME_KEY
public void setBarWidth(int barWidth)
barWidth
- The width of the bar Chart.public int getBarWidth()
public void setBarHeight(int barHeight)
barHeight
- The height of the bar chart in pixels.public int getBarHeight()
public void setShowXAxis(boolean showXAxis)
showXAxis
- True if the bar graph should show X axis. False,
Otherwise.public boolean isShowXAxis()
public void setStyleName(java.lang.String styleName)
styleName
- The styleName for the bar chart of this themepublic java.lang.String getStyleName()
getStyleName
in interface StyleThemeFOI
public BarThemeInfoSet getBarThemeInfoSet()
public java.lang.String[] getNonStyleColors()
getNonStyleColors
in interface StyleThemeFOI
public java.lang.String getDefaultStyleName()
getDefaultStyleName
in interface StyleThemeFOI
public java.lang.String getInternalThemeType()
getInternalThemeType
in class ThemeFOI
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class ThemeFOI