Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.ui.figures
Interface ICollapsableArtifactFigure

All Known Implementing Classes:
AbstractCollapsableFigure, BinaryContainerFigure, SourceContainerFigure

public interface ICollapsableArtifactFigure

Interface for collapsable figure.


Field Summary
static String copyright
           
 
Method Summary
 boolean isCollapsed()
          Return collapse flag.
 boolean isCollapseIconArea(Point mouseLocation)
          Return true if the mouse is in the collapse icon area, false otherwise.
 void setCollapsed(boolean collapse)
          Set collapse flag.
 

Field Detail

copyright

static final String copyright
See Also:
Constant Field Values
Method Detail

isCollapseIconArea

boolean isCollapseIconArea(Point mouseLocation)
Return true if the mouse is in the collapse icon area, false otherwise. For collapsable figure without collapse/expand twisties, the implementation should always return false. In this case, the implementation should use handler for collapse/expand indicator.

Parameters:
mouseLocation -
Returns:

setCollapsed

void setCollapsed(boolean collapse)
Set collapse flag.

Parameters:
collapse - true to collapse, false to expand.

isCollapsed

boolean isCollapsed()
Return collapse flag.

Returns:

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.