|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectUICommand
com.businessobjects.jsf.sdk.components.UIBaseControl
com.businessobjects.jsf.sdk.components.UIBaseScheduleControl
public abstract class UIBaseScheduleControl
The base scheduling component from which all other BusinessObjects Enterprise JSF scheduling components inherit.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_FORM
|
static java.lang.String |
SUBMIT
|
| Constructor Summary | |
|---|---|
UIBaseScheduleControl()
|
|
| Method Summary | |
|---|---|
abstract boolean |
checkItemType()
For internal use only. |
java.lang.String |
getEmptyText()
Gets the text to display when the ItemSource connected to the schedule component is empty. |
IItemSource |
getItemSource()
Gets the source of the item bound to the component. |
int |
getLabelAlignment()
Gets the alignment of the label. |
java.lang.String |
getLoggedOffText()
Gets the text to display when the user attempts to access the component while they are logged off. |
java.lang.String |
getStyleClass()
Gets the CSS style class to be applied when this element is rendered. |
SubmitButtonProps |
getSubmitButton()
Gets an instance of the SubmitButtonProps class which specifies the properties of the submit button. |
void |
restoreState(FacesContext context,
java.lang.Object state)
For internal use only. |
java.lang.Object |
saveState(FacesContext context)
For internal use only. |
void |
setAutoHandleEvents(boolean autoHandleEvents)
Enables or disables event auto handling. |
void |
setEmptyText(java.lang.String emptyText)
Sets the text to display when the ItemSource connected to the schedule component is empty. |
void |
setLabelAlignment(int labelAlignment)
Sets the horizontal alignment of the label. |
void |
setLoggedOffText(java.lang.String loggedOffText)
Sets the text to display when the user attempts to access the component while they are logged off. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS style class to be applied when this element is rendered. |
void |
setSubmitButton(SubmitButtonProps submitButton)
Sets an instance of the SubmitButtonProps class which specifies the properties of the submit button. |
void |
submit(IItemSource item)
Applies the changes to the schedule properties of the item source passed in. |
| Methods inherited from class com.businessobjects.jsf.sdk.components.UIBaseControl |
|---|
encodeBegin, getLocale, getTitle, isAutoHandleEvents, isEnabled, setEnabled, setItemSource, setLocale, setTitle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SUBMIT
public static final java.lang.String DEFAULT_FORM
| Constructor Detail |
|---|
public UIBaseScheduleControl()
| Method Detail |
|---|
public void setAutoHandleEvents(boolean autoHandleEvents)
true if the component will react to its own events using a built-in event handler,
otherwise, set to false.
setAutoHandleEvents in class UIBaseControlautoHandleEvents - true to enable auto handling, otherwise, false.public java.lang.String getEmptyText()
The ItemSource hooked up to the schedule component is empty when the item source contains no InfoObject. For example, when IEnterpriseItem.getInfoobject()==null or EnterpriseItems.getInfoObjects().size() == 0
String that specifies the text to display when the schedule component is empty.public void setEmptyText(java.lang.String emptyText)
The ItemSource hooked up to the schedule component is empty when the item source contains no InfoObject. For example, when IEnterpriseItem.getInfoobject()==null or EnterpriseItems.getInfoObjects().size() == 0
emptyText - A String that specifies the text to display when the schedule component is empty.public java.lang.String getLoggedOffText()
String that specifies the text to display when the user is logged off and they attempt to access the component.public void setLoggedOffText(java.lang.String loggedOffText)
loggedOffText - A String that specifies the text to display when the user is logged off and they attempt to access the component.public java.lang.String getStyleClass()
String that specifies the value of the styleClass property.public void setStyleClass(java.lang.String styleClass)
styleClass - A String that specifies the value of the styleClass property.public SubmitButtonProps getSubmitButton()
public void setSubmitButton(SubmitButtonProps submitButton)
submitButton - an instance of the SubmitButtonProps class which specifies the properties of the submit button.public int getLabelAlignment()
intpublic void setLabelAlignment(int labelAlignment)
labelAlignment - the horizontal alignment of the label as an int
public void submit(IItemSource item)
throws SDKException
an - IItemSource object that contains the schedule item information.
SDKExceptionpublic abstract boolean checkItemType()
public IItemSource getItemSource()
The item source is a bean that implements either IEnterpriseItem or IEnterpriseItems.
getItemSource in class UIBaseControlIItemSource object.public java.lang.Object saveState(FacesContext context)
saveState in class UIBaseControl
public void restoreState(FacesContext context,
java.lang.Object state)
restoreState in class UIBaseControl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||