Examples of removeElement()


Examples of com.sun.star.embed.XStorage.removeElement()

        try{
            XDocumentSubStorageSupplier doc = (XDocumentSubStorageSupplier)UnoRuntime.queryInterface(XDocumentSubStorageSupplier.class,ds);
            XStorage stor = doc.getDocumentSubStorage("database",4);
            try{
            if ( stor.isStreamElement("db.log") )
                stor.removeElement("db.log");
            } catch(Exception e){}
            try{
            if ( stor.isStreamElement("db.properties") )
                stor.removeElement("db.properties");
            } catch(Exception e){}
View Full Code Here

Examples of com.sun.star.embed.XStorage.removeElement()

            if ( stor.isStreamElement("db.log") )
                stor.removeElement("db.log");
            } catch(Exception e){}
            try{
            if ( stor.isStreamElement("db.properties") )
                stor.removeElement("db.properties");
            } catch(Exception e){}
            try{
            if ( stor.isStreamElement("db.script") )
                stor.removeElement("db.script");
            } catch(Exception e){}
View Full Code Here

Examples of com.sun.star.embed.XStorage.removeElement()

            if ( stor.isStreamElement("db.properties") )
                stor.removeElement("db.properties");
            } catch(Exception e){}
            try{
            if ( stor.isStreamElement("db.script") )
                stor.removeElement("db.script");
            } catch(Exception e){}
            try{
            if ( stor.isStreamElement("db.script.new") )
                stor.removeElement("db.script.new");
            } catch(Exception e){}
View Full Code Here

Examples of com.sun.star.embed.XStorage.removeElement()

            if ( stor.isStreamElement("db.script") )
                stor.removeElement("db.script");
            } catch(Exception e){}
            try{
            if ( stor.isStreamElement("db.script.new") )
                stor.removeElement("db.script.new");
            } catch(Exception e){}
            XStorable mod = (XStorable)UnoRuntime.queryInterface(XStorable.class,ds);
            mod.store();
            XComponent xComp = (XComponent)UnoRuntime.queryInterface(XComponent.class,stor);
            if ( xComp != null )
View Full Code Here

Examples of java.util.ArrayList.removeElement()

    panel.add(remove);
    remove.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        Object[] selected = list.getSelectedValues();
        for (int i=0;i<selected.length;i++) {
          sprites.removeElement(selected[i]);
        }
        regenerate();
      }
    });
   
View Full Code Here

Examples of java.util.Stack.removeElement()

    Stack txs = (Stack) _threadList.get();

    if (txs != null)
    {
      txs.removeElement(act);

      if (txs.size() == 0)
      {
        _threadList.set(null);
      }
View Full Code Here

Examples of java.util.Vector.removeElement()

    Long   seqno;

    if(v != null && seqnos != null) {
        for(int i=0; i < seqnos.size(); i++) {
        seqno=(Long)seqnos.elementAt(i);
        v.removeElement(seqno);
        }
    }
    }

View Full Code Here

Examples of java.util.Vector.removeElement()

  }
  public void execute(String commandName, ConsoleInput console, List args) {
    startNow = false;
    Vector newargs = new Vector(args);
    if (!newargs.isEmpty() && newargs.contains("now") ) {
      newargs.removeElement("now");
      startNow = true;
    }
    super.execute(commandName, console, args);
  }
  protected boolean performCommand(ConsoleInput ci, DownloadManager dm, List args)
View Full Code Here

Examples of java.util.Vector.removeElement()

    mode = MODE_ON;
    Vector newargs = new Vector(args);
    if (newargs.isEmpty()) {
      mode = MODE_FLIP;
    } else if (newargs.contains("off")) {
      newargs.removeElement("off");
      mode = MODE_OFF;
    } else if (!newargs.contains("on")) {
      mode = MODE_FLIP;
    }
    super.execute(commandName, ci, args);
View Full Code Here

Examples of java.util.Vector.removeElement()

            }
          }
          if (vecView.contains(new Integer(indID.intValue())) && vecSchedule.contains(new Integer(indID.intValue()))) {
            vecAll.addElement(new Integer(indID.intValue()));
            vecView.removeElement(new Integer(indID.intValue()));
            vecSchedule.removeElement(new Integer(indID.intValue()));
          }
        } // end while (it.hasNext())
      } // end if (col != null)

      if (moduleName.equals(Constants.ACTIVITYMODULE)) {
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.