Searched refs:lastIndex (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DListSelectionEvent.java56 private int lastIndex; field in class:ListSelectionEvent
61 * {@code lastIndex}, inclusive. {@code firstIndex} is less than or equal to
62 * {@code lastIndex}. The selection of at least one index within the range will
65 * @param firstIndex the first index in the range, <= lastIndex
66 * @param lastIndex the last index in the range, >= firstIndex
70 public ListSelectionEvent(Object source, int firstIndex, int lastIndex, argument
75 this.lastIndex = lastIndex;
95 public int getLastIndex() { return lastIndex; }
118 " lastIndex
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAbstractWriter.java552 int lastIndex = startIndex;
556 if (newlineIndex > lastIndex) {
557 output(chars, lastIndex, newlineIndex - lastIndex);
560 lastIndex = newlineIndex + 1;
561 newlineIndex = indexOf(chars, '\n', lastIndex, endIndex);
563 if (lastIndex < endIndex) {
564 output(chars, lastIndex, endIndex - lastIndex);
569 int lastIndex
[all...]
H A DAbstractDocument.java201 // e = new ListSelectionEvent(this, firstIndex, lastIndex);
230 // e = new ListSelectionEvent(this, firstIndex, lastIndex);
259 // e = new ListSelectionEvent(this, firstIndex, lastIndex);
286 // e = new ListSelectionEvent(this, firstIndex, lastIndex);
2247 lastIndex = -1;
2386 if ((lastIndex >= lower) && (lastIndex <= upper)) {
2387 Element lastHit = children[lastIndex];
2391 return lastIndex;
2397 upper = lastIndex;
2471 private int lastIndex; field in class:AbstractDocument.BranchElement
[all...]
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DMimeTypeParameterList.java118 int lastIndex = 0;
137 lastIndex = currentIndex;
143 name = rawdata.substring(lastIndex, currentIndex).toLowerCase();
163 lastIndex = currentIndex;
181 value = unquote(rawdata.substring(lastIndex, currentIndex));
192 lastIndex = currentIndex;
203 value = rawdata.substring(lastIndex, currentIndex);
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DMimeTypeParameterList.java88 int lastIndex;
105 lastIndex = i;
109 name = parameterList.substring(lastIndex, i).
137 lastIndex = i;
156 value = unquote(parameterList.substring(lastIndex, i));
162 lastIndex = i;
165 value = parameterList.substring(lastIndex, i);
/openjdk7/jdk/src/share/classes/java/text/
H A DCalendarBuilder.java156 int lastIndex = sb.length() - 1;
157 if (sb.charAt(lastIndex) == ',') {
158 sb.setLength(lastIndex);
H A DMergeCollation.java281 int lastIndex = findLastEntry(lastEntry, excess);
285 if (lastIndex != patterns.size()) {
290 if (lastIndex == patterns.size()) {
294 patterns.add(lastIndex, newEntry);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/
H A DStreamBufferCreator.java84 int lastIndex = value.lastIndexOf(":"); // Check last index of : as some SAML namespace have multiple ":"s
85 if(firstIndex != -1 && lastIndex == firstIndex){
/openjdk7/jdk/src/share/classes/sun/awt/
H A DPlatformFont.java176 int lastIndex = 0;
203 mcs.addElement(new CharsetString(tmpStr, lastIndex,
204 i-lastIndex, currentFont));
207 lastIndex = i;
211 CharsetString cs = new CharsetString(tmpStr, lastIndex,
212 len-lastIndex, currentFont);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultComboBoxModel.java171 int lastIndex = objects.size() - 1;
174 fireIntervalRemoved(this, firstIndex, lastIndex);
H A DDefaultListSelectionModel.java161 * <code>lastIndex</code>, has changed.
163 protected void fireValueChanged(int firstIndex, int lastIndex) { argument
164 fireValueChanged(firstIndex, lastIndex, getValueIsAdjusting());
169 * @param lastIndex the last index in the interval
174 protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) argument
182 e = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DStyleSheet.java1080 int lastIndex = 0;
1082 while (lastIndex != -1) {
1083 int newIndex = selector.indexOf(' ', lastIndex);
1085 selectors.addElement(selector.substring(lastIndex, newIndex));
1087 lastIndex = -1;
1090 lastIndex = newIndex;
1094 selectors.addElement(selector.substring(lastIndex));
1095 lastIndex = -1;
1142 int lastIndex = 0;
1152 if (lastIndex < counte
[all...]
H A DOptionListModel.java125 * in the closed interval firstIndex,lastIndex, has changed.
127 protected void fireValueChanged(int firstIndex, int lastIndex) { argument
128 fireValueChanged(firstIndex, lastIndex, getValueIsAdjusting());
133 * @param lastIndex The last index in the interval.
137 protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) argument
145 e = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalTabbedPaneUI.java124 int lastIndex = lastTabInRun( tabPane.getTabCount(), currentRun );
173 if ( tabIndex==lastIndex ) {
208 if ( tabIndex==lastIndex ) {
250 g.drawLine( 6, 1, (tabIndex == lastIndex) ? right - 1 : right, 1 );
278 if ( tabIndex==lastIndex ) {
358 int lastIndex = lastTabInRun( tabCount, currentRun );
433 if ( tabIndex == lastIndex ) {
475 int lastIndex = lastTabInRun( tabCount, currentRun );
526 if ( tabIndex == lastIndex ) {
558 if ( tabIndex==lastIndex ) {
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/cosnaming/
H A DInterOperableNamingImpl.java214 int lastIndex = theIndices[0];
217 lastIndex );
231 lastIndex = theIndices[i+1];
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DVMConnection.java158 int lastIndex = value.lastIndexOf(enclosingChar);
159 if (lastIndex > 0 && lastIndex == value.length() - 1) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DConcreteMethodImpl.java74 private int lastIndex = -1; field in class:ConcreteMethodImpl
169 lastIndex = codeBuf.length - 1;
299 if (codeIndex < firstIndex || codeIndex > lastIndex) {
341 if (codeIndex < firstIndex || codeIndex > lastIndex) {
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DConcreteMethodImpl.java80 private long lastIndex = -1; field in class:ConcreteMethodImpl
164 if (codeIndex < firstIndex || codeIndex > lastIndex) {
181 if (codeIndex < firstIndex || codeIndex > lastIndex) {
413 * firstIndex, lastIndex, and startLocation need to be
418 lastIndex = lntab.end;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DNimbusStyle.java668 int[] lastIndex = new int[] {-1};
670 (s = getNextState(v.states, lastIndex, xstate)) != null) {
713 int[] lastIndex = new int[] {-1};
714 while ((s = getNextState(v.states, lastIndex, xstate)) != null) {
748 int[] lastIndex = new int[] {-1};
749 while ((s = getNextState(v.states, lastIndex, xstate)) != null) {
783 int[] lastIndex = new int[] {-1};
784 while ((s = getNextState(v.states, lastIndex, xstate)) != null) {
967 //we start at the lastIndex - 1.
H A DDefaults.template602 int lastIndex = 0;
623 parts.add(prefix.substring(lastIndex, i));
624 lastIndex = i + 1;
627 if (lastIndex < prefix.length() - 1 && !inquotes
629 parts.add(prefix.substring(lastIndex));
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DMemoryCache.java183 long lastIndex = pos/BUFFER_LENGTH;
184 long numNewBuffers = lastIndex - currIndex;
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DGenDoc.java689 int lastIndex = index;
692 index = s.substring(0, lastIndex).lastIndexOf('/');
693 str += ", " + s.substring(index+1, lastIndex);
694 lastIndex = index;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DCoreDOMImplementationImpl.java177 int lastIndex = qname.lastIndexOf(':');
182 if (index == 0 || index == length - 1 || lastIndex != index) {
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DUnixPrintServiceLookup.java215 int lastIndex = printerURIs[i].lastIndexOf("/");
216 printers[i] = printerURIs[i].substring(lastIndex+1);
/openjdk7/jdk/src/share/classes/sun/swing/
H A DFilePane.java1318 int lastIndex = -1; field in class:FilePane
1322 return lastIndex;
1326 lastIndex = i;
1330 lastIndex = -1;

Completed in 144 milliseconds

12