Examples of reset()


Examples of com.ponysdk.ui.server.form2.Form.reset()

        final PButton resetButton = new PButton("Reset");
        resetButton.addClickHandler(new PClickHandler() {

            @Override
            public void onClick(final PClickEvent clickEvent) {
                form.reset();
                PNotificationManager.showHumanizedNotification("The form has been reseted");
            }
        });

        final PListBox captionOriantationList = new PListBox(true);
View Full Code Here

Examples of com.puppycrawl.tools.checkstyle.api.LocalizedMessages.reset()

        while (iter.hasNext()) {
            String key = (String) iter.next();
            getMessageDispatcher().fireFileStarted(key);
            LocalizedMessages localizedMessages = (LocalizedMessages) mMessageMap.get(key);
            final LocalizedMessage[] errors = localizedMessages.getMessages();
            localizedMessages.reset();
            getMessageDispatcher().fireErrors(key, errors);
            getMessageDispatcher().fireFileFinished(key);
        }
    }
View Full Code Here

Examples of com.sap.hadoop.ds.streams.Streams.ByteArrayOS.reset()

 
  private void write(Writable w) throws BaseException, IOException
  {
    DataOStream dos = Streams.dos.get();
    ByteArrayOS bos = dos.getUnderlyingStream();
    bos.reset();
    w.write(dos);
    ensureCapacity(bos.len());
    int i = currentSize * 2;
    System.arraycopy(bos.bytearray(), 0, bytes, bytesUsed, bos.len());
    offsetsArray[i] = bytesUsed;
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.form.FormPanel.reset()

    file.setName("uploadedfile");
    panel.add(new FieldLabel(file,"选择文件"));

    TextButton btn = new TextButton("重置",new SelectHandler() {
      public void onSelect(SelectEvent event) {
        panel.reset();
      }
    });
    fp.addButton(btn);

    btn = new TextButton("上传",new SelectHandler() {
View Full Code Here

Examples of com.sleepycat.bdb.util.FastOutputStream.reset()

                 cInt += 1) {
                c = (char) cInt;
                cArray[0] = c;
                int byteLen = UtfOps.getByteLength(cArray);

                javaBufStream.reset();
                javaOutStream.writeUTF(new String(cArray));
                int javaByteLen = javaBufStream.size() - 2;

                if (byteLen != javaByteLen) {
                    fail("Character 0x" + Integer.toHexString(c) +
View Full Code Here

Examples of com.sleepycat.je.cleaner.TrackedFileSummary.reset()

                FileSummaryLN fsln =
                    (FileSummaryLN) fsTrackingEntry.getMainItem();
                long fileNum = fsln.getFileNumber(keyBytes);
                TrackedFileSummary trackedLN = tracker.getTrackedFile(fileNum);
                if (trackedLN != null) {
                    trackedLN.reset();
                }

                /* Save the LSN of the FileSummaryLN for use by undo/redo. */
                fileSummaryLsns.put(new Long(fileNum), new Long(getLastLsn()));

View Full Code Here

Examples of com.sleepycat.je.dbi.CursorImpl.reset()

                    }
                }
            }
        } finally {
      if (cursorImpl == dup) {
    dup.reset();
      } else {
    dup.close();
      }
        }
View Full Code Here

Examples of com.sleepycat.je.utilint.Adler32.reset()

                block.setBeginKey(key.getData());
                block.setBeginData(data.getData());
            }

            /* Calculate rollingChksum on "key|data" bytes. */
            adler32.reset();
            adler32.update(key.getData(), 0, key.getData().length);
            adler32.update(data.getData(), 0, data.getData().length);
            final int xi = (int) adler32.getValue();
            a += xi;
            b += a;
View Full Code Here

Examples of com.sleepycat.util.FastOutputStream.reset()

                 cInt += 1) {
                c = (char) cInt;
                cArray[0] = c;
                int byteLen = UtfOps.getByteLength(cArray);

                javaBufStream.reset();
                javaOutStream.writeUTF(new String(cArray));
                int javaByteLen = javaBufStream.size() - 2;

                if (byteLen != javaByteLen) {
                    fail("Character 0x" + Integer.toHexString(c) +
View Full Code Here

Examples of com.slytechs.utils.memory.channel.BufferedReadableByteChannel.reset()

    if (PcapInputCapture.checkFormat(b) != null) {
      return FormatType.Pcap;
    }

    b.reset();

    if (SnoopInputCapture.checkFormat(b) != null) {
      return FormatType.Snoop;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.