|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.Control
com.sap.ui.commons.client.RoadMap
public class RoadMap
The class RoadMap is the GWT wrapper
for the Phoenix control: sap.ui.commons.RoadMap.
The RoadMap control is used to display step by step workflows. This allows displaying small steps of a clearly defined work process.
| Constructor Summary | |
|---|---|
protected |
RoadMap()
constructs the class RoadMaphidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
RoadMap |
addStep(RoadMapStep step)
Appends a step to the aggregation steps. |
RoadMap |
attachStepExpandedEvent(com.sap.ui.core.client.event.EventListener listener)
attach an EventListener
Event is fired when a given step is expanded or collapsed by user. |
RoadMap |
attachStepSelectedEvent(com.sap.ui.core.client.event.EventListener listener)
attach an EventListener
Event is fired when a given step is selected by user (when it was not selected before). |
static RoadMap |
create()
creates a new instance of the class RoadMap |
static RoadMap |
create(String idOrConfig)
creates a new instance of the class RoadMap |
static RoadMap |
create(String id,
String config)
creates a new instance of the class RoadMap |
RoadMap |
destroySteps()
Destroys all the steps in the Steps-aggregation. |
RoadMap |
detachStepExpandedEvent(com.sap.ui.core.client.event.EventListener listener)
detach an EventListener
Event is fired when a given step is expanded or collapsed by user. |
RoadMap |
detachStepSelectedEvent(com.sap.ui.core.client.event.EventListener listener)
detach an EventListener
Event is fired when a given step is selected by user (when it was not selected before). |
String |
getFirstVisibleStep()
Getter for property firstVisibleStep
The id of the first step to be display |
int |
getNumberOfVisibleSteps()
Getter for property numberOfVisibleSteps
Total number of steps to be displayed at once |
String |
getSelectedStep()
Getter for property selectedStep
The id of the step which is selected |
com.sap.ui.core.client.js.JsArray<RoadMapStep> |
getSteps()
Getter for aggregation steps Steps that are composing the RoadMap. |
String |
getWidth()
Getter for property width
Width of RoadMap |
int |
indexOfStep(RoadMapStep step)
Checks for the provided com.sap.ui.commons.client.RoadMapStep in the steps-aggregation and
returns its index if found or -1 otherwise. |
RoadMap |
insertStep(RoadMapStep step,
int index)
Inserts some step into the aggregation named steps. |
boolean |
isVisible()
Getter for property visible
Invisible Roadmap is not rendered |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<RoadMapStep>> |
removeAllSteps()
Removes all the items in the steps-aggregation. |
com.sap.ui.core.client.js.JsArray<RoadMapStep> |
removeStep(int index)
Removes a step from the aggregation named steps. |
RoadMap |
setFirstVisibleStep(String value)
Setter for property firstVisibleStep |
RoadMap |
setNumberOfVisibleSteps(int value)
Setter for property numberOfVisibleSteps |
RoadMap |
setSelectedStep(String value)
Setter for property selectedStep |
RoadMap |
setVisible(boolean value)
Setter for property visibleDefault value is: true |
RoadMap |
setWidth(String value)
Setter for property widthDefault value is: 100% |
| Methods inherited from class com.sap.ui.core.client.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RoadMap()
RoadMapJavaScriptObject restriction
| Method Detail |
|---|
public static RoadMap create()
RoadMap
public static RoadMap create(String idOrConfig)
RoadMap
id - id of the RoadMap or configuration JSON string
public static RoadMap create(String id,
String config)
RoadMap
id - id of the RoadMapconfig - configuration JSON stringpublic final int getNumberOfVisibleSteps()
numberOfVisibleSteps
Total number of steps to be displayed at once
public final RoadMap setNumberOfVisibleSteps(int value)
numberOfVisibleSteps
value - int
this to allow method chainingpublic final String getFirstVisibleStep()
firstVisibleStep
The id of the first step to be display
public final RoadMap setFirstVisibleStep(String value)
firstVisibleStep
value - String
this to allow method chainingpublic final String getSelectedStep()
selectedStep
The id of the step which is selected
public final RoadMap setSelectedStep(String value)
selectedStep
value - String
this to allow method chainingpublic final String getWidth()
width
Width of RoadMap
public final RoadMap setWidth(String value)
width100%
value - String
this to allow method chainingpublic final boolean isVisible()
visible
Invisible Roadmap is not rendered
public final RoadMap setVisible(boolean value)
visibletrue
value - boolean
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<RoadMapStep> getSteps()
public final RoadMap insertStep(RoadMapStep step,
int index)
steps.
step - the step to insertindex - int the 0-based index the step should be inserted at.
this to allow method chainingpublic final RoadMap addStep(RoadMapStep step)
steps.
step - com.sap.ui.commons.client.RoadMapStep the step to add
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<RoadMapStep> removeStep(int index)
steps.
index - int the position of the step to remove.
public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<RoadMapStep>> removeAllSteps()
public final int indexOfStep(RoadMapStep step)
com.sap.ui.commons.client.RoadMapStep in the steps-aggregation and
returns its index if found or -1 otherwise.
step - the step whose index is looked for.
public final RoadMap destroySteps()
this to allow method chainingpublic final RoadMap attachStepSelectedEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Event is fired when a given step is selected by user (when it was not selected before).
listener - reference to the EventListener
this to allow method chainingpublic final RoadMap detachStepSelectedEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Event is fired when a given step is selected by user (when it was not selected before).
listener - reference to the EventListener
this to allow method chainingpublic final RoadMap attachStepExpandedEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Event is fired when a given step is expanded or collapsed by user.
listener - reference to the EventListener
this to allow method chainingpublic final RoadMap detachStepExpandedEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Event is fired when a given step is expanded or collapsed by user.
listener - reference to the EventListener
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||