| 
Rational Developer for Power Systems Software V7.6  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectNodeFigure
com.ibm.etools.systems.application.visual.editor.ui.figures.impl.AbstractFeedbackNodeFigure
com.ibm.etools.systems.application.visual.editor.ui.figures.impl.AbstractCollapsableFigure
public abstract class AbstractCollapsableFigure
Abstract class for collapsable figure. Collapsable figure can optionally have icon or child figure on the figure to toggle the collapse / expand state. Otherwise,
| Field Summary | |
|---|---|
protected  boolean | 
collapsed
 | 
static String | 
copyright
 | 
protected  boolean | 
hasCollapsedFigure
 | 
| Fields inherited from class com.ibm.etools.systems.application.visual.editor.ui.figures.impl.AbstractFeedbackNodeFigure | 
|---|
editPart, feedbackStateManager, mapMode | 
| Fields inherited from interface com.ibm.etools.systems.application.visual.editor.ui.figures.IFeedbackFigure | 
|---|
STATE_ASSOCIATED_CLEAR, STATE_ASSOCIATED_SOURCE, STATE_ASSOCIATED_TARGET, STATE_HOVER, STATE_NONE, STATE_SELECTED, STATE_TARGET, STATE_TARGET_HOVER | 
| Constructor Summary | |
|---|---|
AbstractCollapsableFigure(IMapMode mapMode,
                          IGraphicalEditPart editPart)
Construct.  | 
|
| Method Summary | |
|---|---|
protected abstract  Rectangle | 
getCollapseIconArea()
Return the rectangle where collapsable toggler icon is.  | 
protected  Boolean | 
getInitialCollapseState()
Get collapsed state from drawerStyle.  | 
protected  void | 
initCollapseState()
Initialize the collapsable state.  | 
 boolean | 
isCollapsed()
True if the figure is collapsed, false otherwise.  | 
 boolean | 
isCollapseIconArea(Point mouseLocation)
Return true if the mouse is in the collapse icon area, false otherwise.  | 
 void | 
setCollapsed(boolean collapseState)
Set collapse state for the figure.  | 
| Methods inherited from class com.ibm.etools.systems.application.visual.editor.ui.figures.impl.AbstractFeedbackNodeFigure | 
|---|
blendColor, getAssociatedSourceColor, getAssociatedTargetColor, getFeedbackFigureBounds, getFeedbackState, setFeedbackState, setFeedbackStateManager | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static String copyright
protected boolean collapsed
protected boolean hasCollapsedFigure
| Constructor Detail | 
|---|
public AbstractCollapsableFigure(IMapMode mapMode,
                                 IGraphicalEditPart editPart)
| Method Detail | 
|---|
public boolean isCollapseIconArea(Point mouseLocation)
ICollapsableArtifactFigure
isCollapseIconArea in interface ICollapsableArtifactFigurepublic boolean isCollapsed()
isCollapsed in interface ICollapsableArtifactFigurepublic void setCollapsed(boolean collapseState)
setCollapsed in interface ICollapsableArtifactFigurecollapseState - true to collapse, false to expand.protected Boolean getInitialCollapseState()
protected void initCollapseState()
protected abstract Rectangle getCollapseIconArea()
  | 
Rational Developer for Power Systems Software V7.6  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||