Package com.ribsapp.shapes
Class RJStringListTool
- java.lang.Object
- 
- com.ribsapp.shapes.RJStringListTool
 
- 
 public class RJStringListTool extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description RJStringListTool()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RJListControllergetListController()The "controller" is an object that implements the RJListController interface to handle the ui (add,delete,remove, etc.).intgetSelectedIndex(javax.swing.JList list)For some crazy reason, if there are no items in the list, the JList will tell you that the item at index 0 is selected (instead of there being no selection)RJPanelgetUI()static voidinstallListTool(RJPanel ui, java.lang.String placeholderName)Swap out the component named placeholderName with this widget's UIvoidresetUI()voidrespondUI(javax.swing.JComponent anObj)
 
- 
- 
- 
Method Detail- 
installListToolpublic static void installListTool(RJPanel ui, java.lang.String placeholderName) Swap out the component named placeholderName with this widget's UI
 - 
getUIpublic RJPanel getUI() 
 - 
getListControllerpublic RJListController getListController() The "controller" is an object that implements the RJListController interface to handle the ui (add,delete,remove, etc.). It is defined to be the owner of whatever panel this widget was installed in.
 - 
resetUIpublic void resetUI() 
 - 
getSelectedIndexpublic int getSelectedIndex(javax.swing.JList list) For some crazy reason, if there are no items in the list, the JList will tell you that the item at index 0 is selected (instead of there being no selection)
 - 
respondUIpublic void respondUI(javax.swing.JComponent anObj) 
 
- 
 
-