Examples of reset()


Examples of org.openide.windows.OutputWriter.reset()

        io.setFocusTaken(true);
        io.setOutputVisible(true);
       
        OutputWriter out = io.getOut();
        try {
            out.reset();
        }
        catch( IOException e) {
            e.printStackTrace(System.err);
        }
        out.println(Calendar.getInstance().getTime() + ":\n");
View Full Code Here

Examples of org.openntf.formula.parse.AtFormulaParserImpl.reset()

   *
   * @return
   */
  private FormulaParser getCopy() {
    AtFormulaParserImpl parser = new AtFormulaParserImpl(new java.io.StringReader(""));
    parser.reset();
    parser.formatter = formatter;
    parser.functionFactory = functionFactory;
    parser.includeProvider = includeProvider;
    parser.customFunc = customFunc;
    parser.focFormulaCache = focFormulaCache;
View Full Code Here

Examples of org.openquark.gems.client.IntellicutListModelAdapter.InputOutputAdapter.reset()

     * @param outputExpr a list of valid output types to the gems
     */
    public void rebuildList(TypeExpr[] inputExpr, TypeExpr[] outputExpr) {
        hidePopup();
        InputOutputAdapter adapter = (InputOutputAdapter) ((IntellicutListModel) getModel()).getAdapter();
        adapter.reset(inputExpr, outputExpr);
    }

    /**
     * Updates the visible list of gems based on what the user has typed so far.
     * It will also ensure that the text display in the text entry field is correct.
View Full Code Here

Examples of org.opensolaris.opengrok.util.Getopt.reset()

                String databaseDriver = cfg.getDatabaseDriver();
                String databaseURL = cfg.getDatabaseUrl();

                // Now we can handle all the other options..
                getopt.reset();
                while ((cmd = getopt.getOpt()) != -1) {
                    switch (cmd) {
                        case 'q':
                            cfg.setVerbose(false);
                            OpenGrokLogger.setOGConsoleLogLevel(Level.WARNING);
View Full Code Here

Examples of org.pdf4j.saxon.event.Builder.reset()

                        ((AugmentedSource)source).addFilter(config.makeDocumentProjector(pathRoot));
                    }
                }
                new Sender(b.getPipelineConfiguration()).send(source, s);
                newdoc = (DocumentInfo)b.getCurrentRoot();
                b.reset();
                if (source instanceof AugmentedSource && ((AugmentedSource)source).isPleaseCloseAfterUse()) {
                    ((AugmentedSource)source).close();
                }
            }
            controller.registerDocument(newdoc, documentKey);
View Full Code Here

Examples of org.pdf4j.saxon.event.SequenceOutputter.reset()

            seq.setPipelineConfiguration(pipe);
            c2.setTemporaryReceiver(seq);
            process(c2);
            seq.close();
            Item result = seq.getFirstItem();
            seq.reset();
            return result;
        }
    }

    /**
 
View Full Code Here

Examples of org.pdf4j.saxon.tinytree.TinyBuilder.reset()

                ss = AugmentedSource.makeAugmentedSource(ss);
                ((AugmentedSource)ss).setStripSpace(stripSpace);
            }
            new Sender(pipe).send(source, builder);
            TinyDocumentImpl doc = (TinyDocumentImpl)builder.getCurrentRoot();
            builder.reset();
            return (Document)DocumentOverNodeInfo.wrap(doc);
        } catch (XPathException err) {
            throw new SAXException(err);
        }
    }
View Full Code Here

Examples of org.pdf4j.saxon.tree.TreeBuilder.reset()

            config.reuseStyleParser(styleParser);
        } else {
            sender.send(aug, commentStripper);
        }
        doc = (DocumentImpl)styleBuilder.getCurrentRoot();
        styleBuilder.reset();

        if (aug.isPleaseCloseAfterUse()) {
            aug.close();
        }
View Full Code Here

Examples of org.pdfbox.cos.COSString.reset()

                        {
                            if( tokens.get( i ) instanceof COSString )
                            {
                                foundString = true;
                                COSString drawnString =((COSString)tokens.get(i));
                                drawnString.reset();
                                drawnString.append( apValue.getBytes() );
                            }
                        }
                        int setFontIndex = tokens.indexOf( PDFOperator.getOperator( "Tf" ));
                        tokens.set( setFontIndex-1, new COSFloat( fontSize ) );
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.ElementPropertiesPanel.reset()

      if (tabs.getSelectedIndex() == 0)
      {
        attributeEditorPanel.setAllowAttributeCard(true);
        attributeEditorPanel.setAllowDataSourceCard(false);
        attributeEditorPanel.setAllowExpressionCard(false);
        attributeEditorPanel.reset(activeContext.getSelectionModel());
      }
      else
      {
        attributeEditorPanel.setAllowAttributeCard(false);
        attributeEditorPanel.setAllowDataSourceCard(true);
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.