Searched defs:item (Results 1 - 5 of 5) sorted by relevance

/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/property/
H A DNVComboBoxPropertySynchronizer.java65 protected T toT(Object item) { argument
67 NameValue<T> nv = (NameValue<T>)item;
H A DNVListSelectorPropertySynchronizer.java66 protected T toT(Object item) { argument
68 NameValue<T> nv = (NameValue<T>)item;
H A DComboBoxPropertySynchronizer.java96 T item = toT(element);
110 * Gets the value from the given item from the {@code ComboBoxModel} of the
112 * implementation returns {@code item}, cast to a {@code T}.
115 protected T toT(Object item) { argument
116 return (T)item;
H A DListSelectorPropertySynchronizer.java193 * Gets the value from the given list item from the {@code ListModel} of the
196 * item}, cast to a {@code T}.
199 protected T toT(Object item) { argument
200 return (T)item;
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/
H A DSortedSetComboBoxModel.java66 * Adds the given item to the model.
85 public int add(T item) { argument
86 int index = Collections.binarySearch(items, item);
89 items.add(index, item);
103 T item = null;
106 item = items.remove(index);
110 return item;
113 public boolean remove(T item) { argument
114 return remove(Collections.binarySearch(items, item)) != null;

Completed in 377 milliseconds