com.mindfusion.diagramming
Interface ShapeListBoxListener


public interface ShapeListBoxListener

Defines signatures for shape select, rename and delete events in ShapeListBox


Method Summary
 void shapeRemoved(Shape shape, int oldIndex)
          Raised when the user removes a Shape from the ListBox
 void shapeRenamed(Shape shape, int index, java.lang.String oldName)
          Raised when the user renames a Shape in the ListBox
 void shapeSelected(Shape shape, int index)
          Called when the user selects a Shape in the ListBox
 

Method Detail

shapeSelected

void shapeSelected(Shape shape,
                   int index)
Called when the user selects a Shape in the ListBox


shapeRenamed

void shapeRenamed(Shape shape,
                  int index,
                  java.lang.String oldName)
Raised when the user renames a Shape in the ListBox


shapeRemoved

void shapeRemoved(Shape shape,
                  int oldIndex)
Raised when the user removes a Shape from the ListBox