|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.ui.checklist.Step
public final class Step
Checklist consist of Steps. Step can be simple or complex and contain substeps. As of now, we support only one level of substeps. ie., a substep cannot be complex and have subsets within it. The content of the step should be provided by StepContent interface. When the step is expanded by the user in the Checklist, the StepContent will be shown in the checklist. Each step consists of following elements:
Nested Class Summary | |
---|---|
static class |
Step.StepStatus
List of different step status. |
Constructor Summary | |
---|---|
Step()
Create a step. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a PropertyChangeListener to this step. |
void |
addSubstep(Step step)
Add a substep to this parent. |
void |
addSubstep(Step step,
int index)
Add a substep to this parent at the specified location. |
protected void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Fire PropertyChangeEvent. |
boolean |
getAllowsSubsteps()
Returns whether this step allows substeps within it. |
StepContent |
getContent()
Returns the step content of this step. |
boolean |
getDrillDownSubsteps()
Returns whether the substeps of this step is showing. |
javax.swing.Icon |
getIcon()
Returns the step icon. |
int |
getIndex()
Returns the index of the step in the model if this is parent step. |
Step |
getParent()
Returns the parent step of this step. |
Step.StepStatus |
getStatus()
Returns the step status. |
Step |
getSubstepAt(int index)
Returns the substep at the specified location. |
int |
getSubstepCount()
Returns the number of substeps within this step. |
int |
getSubstepIndex(Step step)
Returns the index of the substep inside this parent step. |
Step[] |
getSubsteps()
Returns the array of all substeps within this parent step. |
java.lang.String |
getTitle()
Returns the step title. |
boolean |
isEnabled()
Returns whether the step is enabled or not. |
boolean |
isExpanded()
Returns whether the step is expanded or not. |
boolean |
isSelected()
Returns whether this step is selected or not. |
boolean |
isSimple()
Returns whether this step contains any substep or not. |
boolean |
isVisible()
Returns whether the step is visible or not. |
void |
removeAllSubsteps()
Remove all substeps from this parent step. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener to this step. |
void |
removeSubstep(Step step)
Remove the substep from this parent step. |
void |
setContent(StepContent content)
Set the StepContent for this step. |
void |
setDrillDownSubsteps(boolean drillDown)
Sets whether the substeps of this step is showing. |
void |
setEnabled(boolean enable)
Set whether the step is enabled. |
void |
setExpanded(boolean expanded)
Set whether the step is expanded or not. |
void |
setIcon(javax.swing.Icon icon)
Sets the icon for this step. |
void |
setSelected(boolean selected)
Select this step. |
void |
setStatus(Step.StepStatus status)
Sets the status for this step. |
void |
setTitle(java.lang.String title)
Sets the title for this step. |
void |
setVisible(boolean visible)
Set whether the step is visible or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Step()
Method Detail |
---|
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public void setIcon(javax.swing.Icon icon)
public javax.swing.Icon getIcon()
public void setStatus(Step.StepStatus status)
public Step.StepStatus getStatus()
public void setExpanded(boolean expanded)
public boolean isExpanded()
public void setSelected(boolean selected)
public boolean isSelected()
public void setVisible(boolean visible)
public boolean isVisible()
public void setEnabled(boolean enable)
public boolean isEnabled()
public void setContent(StepContent content)
public StepContent getContent()
public boolean getAllowsSubsteps()
public int getSubstepCount()
public Step getSubstepAt(int index)
public int getSubstepIndex(Step step)
public Step[] getSubsteps()
public void addSubstep(Step step)
public void addSubstep(Step step, int index)
public void removeSubstep(Step step)
public void removeAllSubsteps()
public void setDrillDownSubsteps(boolean drillDown)
public boolean getDrillDownSubsteps()
public Step getParent()
public int getIndex()
public boolean isSimple()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
protected void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |