Lines Matching defs:anObject
87 * @param anObject The combo box value or null for no selection.
89 public void setSelectedItem(Object anObject) {
90 if ((selectedObject != null && !selectedObject.equals( anObject )) ||
91 selectedObject == null && anObject != null) {
92 selectedObject = anObject;
118 * @param anObject
122 public int getIndexOf(Object anObject) {
123 return objects.indexOf(anObject);
127 public void addElement(E anObject) {
128 objects.addElement(anObject);
130 if ( objects.size() == 1 && selectedObject == null && anObject != null ) {
131 setSelectedItem( anObject );
136 public void insertElementAt(E anObject,int index) {
137 objects.insertElementAt(anObject,index);
158 public void removeElement(Object anObject) {
159 int index = objects.indexOf(anObject);