Class LabelListPanel<T>
- java.lang.Object
-
- org.bidib.wizard.mvc.main.view.panel.LabelListPanel<T>
-
- All Implemented Interfaces:
LabelListMenuListener
- Direct Known Subclasses:
NodeListPanel
public abstract class LabelListPanel<T> extends Object implements LabelListMenuListener
-
-
Constructor Summary
Constructors Constructor Description LabelListPanel(LabeledDisplayItems<T> labelList, LabelAction<T> labelAction)Creates a new instance of the LabelListPanel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLabelChangedListener(LabelChangedListener<T> l)voidaddListSelectionListener(ListSelectionListener l)voideditLabel(MouseEvent popupEvent)protected voidfireLabelChanged(T object, String label)protected LabeledDisplayItems<T>getLabelList()protected voidhandleMouseEvent(MouseEvent e, JPopupMenu popupMenu)protected PointselectedIndexToLocation()
-
-
-
Constructor Detail
-
LabelListPanel
public LabelListPanel(LabeledDisplayItems<T> labelList, LabelAction<T> labelAction)
Creates a new instance of the LabelListPanel.- Parameters:
labelList- the label list instance
-
-
Method Detail
-
getLabelList
protected LabeledDisplayItems<T> getLabelList()
-
addLabelChangedListener
public void addLabelChangedListener(LabelChangedListener<T> l)
-
addListSelectionListener
public void addListSelectionListener(ListSelectionListener l)
-
editLabel
public void editLabel(MouseEvent popupEvent)
- Specified by:
editLabelin interfaceLabelListMenuListener
-
handleMouseEvent
protected void handleMouseEvent(MouseEvent e, JPopupMenu popupMenu)
-
selectedIndexToLocation
protected Point selectedIndexToLocation()
-
-