Examples of clone()


Examples of com.alee.extended.colorchooser.GradientData.clone()

        {
            @Override
            public void actionPerformed ( ActionEvent e )
            {
                // Simply apply default gradient values
                colorChooser.setGradientData ( defaultValue.clone () );
            }
        } );

        // Black & white colors button
        final WebButton blackAndWhite = new WebButton ( loadIcon ( "bw.png" ) );
View Full Code Here

Examples of com.alibaba.citrus.asm.tree.AbstractInsnNode.clone()

                // Insert this new instantiation into the queue to be emitted
                // later.
                worklist.add(newinst);
            } else {
                newInstructions.add(insn.clone(instant));
            }
        }

        // Emit try/catch blocks that are relevant to this method.
        for (Iterator it = tryCatchBlocks.iterator(); it.hasNext();) {
View Full Code Here

Examples of com.alibaba.citrus.service.mail.builder.MailBuilder.clone()

        if (builder == null) {
            throw new MailNotFoundException("Could not find mail builder: " + id);
        }

        // ����mail builder�ĸ���
        return builder.clone();
    }

    /**
     * ȡ��Ĭ�ϵ�mail store��
     */
 
View Full Code Here

Examples of com.any_erp_vendor.moa.jmsobjects.person.v1_0.BasicPerson.clone()

        bp_resultsTextArea.setText("No rows found matching the query.");
      }
      else {
        for (int i=0; i<a.size(); i++) {
          BasicPerson bp = (BasicPerson)a.get(i);
          baselineBasicPerson = (BasicPerson)bp.clone();
         
          // get the addresses associated to the basic person
          java.util.List addrs = bp.getAddress();
          java.util.Vector vAddr = new java.util.Vector();
          if (addrs.size() > 0) {
View Full Code Here

Examples of com.any_erp_vendor.moa.jmsobjects.person.v1_0.EmergencyContact.clone()

     **/
    protected void ecList_mouseClicked(MouseEvent e)
    {
      EmergencyContact ec = (EmergencyContact)ecList.getSelectedValue();
      try {
        baselineEmergencyContact = (EmergencyContact)ec.clone();
      }
      catch (Exception exc) {
      }
      ec_relation.setSelectedItem(ec.getRelationship());
      ec_priority.setSelectedItem(ec.getPriority());
View Full Code Here

Examples of com.art.anette.datamodel.dataobjects.simple.DataObject.clone()

    }

    private static Object clone(Object object) {
        if (object instanceof DataObject) {
            DataObject dataObject = (DataObject) object;
            return dataObject.clone();
        } else {
            return object;
        }
    }
View Full Code Here

Examples of com.astamuse.asta4d.Context.clone()

    public Future<T> invoke(ExecutorService es, final int rowIndex, final S data) {
        final Context context = Context.getCurrentThreadContext();
        return es.submit(new Callable<T>() {
            @Override
            public T call() throws Exception {
                return Context.with(context.clone(), new Callable<T>() {
                    @Override
                    public T call() throws Exception {
                        return convert(rowIndex, data);
                    }
                });
View Full Code Here

Examples of com.bazaarvoice.jless.ast.node.SelectorGroupNode.clone()

            // if scope node for media query has anything more but whitespaces and rule sets than wrap it with rule set with the same selector group as outer rule set has
            if (mediaScopeNode.getChildren().size() > NodeTreeUtils.getChildren(mediaScopeNode, WhiteSpaceCollectionNode.class).size()) {
                RuleSetNode newRuleSetNode = new RuleSetNode();
                ScopeNode newScopeNode = new ScopeNode();
                newRuleSetNode.addChild(selectorGroupNode.clone());
                newRuleSetNode.addChild(newScopeNode);

                NodeTreeUtils.moveChildren(mediaScopeNode, newScopeNode);

                mediaScopeNode.clearChildren();
View Full Code Here

Examples of com.bradrydzewski.gwt.calendar.client.Appointment.clone()

                  calendarWidget.fireUpdateEvent(appt);
        }
 
        public void onDragStart(DragStartEvent event) {
          Appointment appt = ((AppointmentWidget) event.getContext().draggable).getAppointment();
          calendarWidget.setRollbackAppointment(appt.clone());
          ((DayViewPickupDragController)dragController).setMaxProxyHeight(getMaxProxyHeight());
        }
 
        public void onPreviewDragEnd(DragEndEvent event)
            throws VetoDragException {
View Full Code Here

Examples of com.cburch.logisim.tools.key.KeyConfigurator.clone()

        ComponentFactory factory = comp.getFactory();
        AttributeSet attrs = comp.getAttributeSet();
        Object handler = factory.getFeature(KeyConfigurator.class, attrs);
        if (handler != null) {
          KeyConfigurator base = (KeyConfigurator) handler;
          handlers.put(comp, base.clone());
        }
      }
      keyHandlers = handlers;
    }
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.