Examples of State


Examples of org.jemmy.timing.State

                final STATE currentState = selectable.getState();
                if (attempts >= selectable.getStates().size()) {
                    throw new JemmyException("State is not reached in " + attempts + " attempts", state);
                }
                target.mouse().click(clickCount(state));
                target.getEnvironment().getWaiter(Wrap.WAIT_STATE_TIMEOUT.getName()).ensureState(new State() {

                    public Object reached() {
                        return selectable.getState().equals(currentState) ? null : "";
                    }
View Full Code Here

Examples of org.jfree.layouting.State

      {
        return false;
      }

      textBox.clear();
      final State textFactory = textBox.getTextFactory();
      try
      {
        final RenderableTextFactory rtf =
            (RenderableTextFactory) textFactory.restore(layoutProcess);
        final RenderNode[] text =
            createText(resolvedText, textBox.getLayoutContext(), rtf);

        for (int i = 0; i < text.length; i++)
        {
View Full Code Here

Examples of org.jpos.transaction.TransactionStatusEvent.State

    TransactionStatusEvent transactionStatusEvent;

    @Before
    public void setUp() throws Exception {
        int session = 1;
        State state = State.ABORTING;
        long id = 2L;
        String info = "inforString";
        Serializable context = "someContextObject";
        transactionStatusEvent = new TransactionStatusEvent(session, state, id, info, context);
    }
View Full Code Here

Examples of org.jscep.transaction.Transaction.State

        envDecoder);

    Transport transport = new HttpGetTransport(getURL());
    Transaction t = new NonEnrollmentTransaction(transport, encoder,
        decoder, iasn, MessageType.GET_CRL);
    State s = t.send();

    assertThat(s, is(State.CERT_ISSUED));
  }
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.workflow.State

        return (DataStoreConnectionPage) super.getPreviousPage();
    }

    public void createControl( Composite parent ) {
        // retrieve any and all context!
        State workflowState = getState();
        Object context = null;
        if (workflowState != null) {
            // gak!
            String name = workflowState.getName();
            Workflow workflow = workflowState.getWorkflow();
            context = workflow.getContext();
        }
        Map<String, Serializable> params = getParams();
        CatalogImportWizard importWizard = getWizard();
View Full Code Here

Examples of org.nimbustools.api.repr.vm.State

                    final StateChangeCallback scc =
                            (StateChangeCallback) this.stateListeners.get(i);
                   
                    if (scc != null) {
                        final State stateRepr = this.dataConvert.getState(this);
                        scc.newState(stateRepr);
                    }

                } catch (Throwable t) {
                    final String err = "Problem with asynchronous state " +
View Full Code Here

Examples of org.objectweb.perseus.persistence.api.State

        try {
            if (!(pn.getPNameManager() instanceof PBinder)) {
                pn = pnc.decodeAbstract(pn, tx.getConnectionHolder());               
            }
            if (validate) {
                State s = tx.lookup(pn);
                if (s != null && s != VirtualState.instance) {
                    return s.getCacheEntry();
                } else {
                    //Fetch an instance (new or from the cache)
                    CacheEntry ce = tpm.getObjectById(tx, pn);
                    //clear the state
                    tpm.refresh(tx, ce);
View Full Code Here

Examples of org.omg.uml.behavioralelements.statemachines.State

    /**
     * @see org.andromda.metafacades.uml.EventFacade#getState()
     */
    protected Object handleGetState()
    {
        State eventState = null;

        final Collection allStates = UML14MetafacadeUtils.getModel().getStateMachines().getState().refAllOfType();
        for (final Iterator stateIterator = allStates.iterator(); stateIterator.hasNext() && eventState == null;)
        {
            final State state = (State)stateIterator.next();
            if (state.getDeferrableEvent().contains(metaObject))
            {
                eventState = state;
            }
        }

View Full Code Here

Examples of org.onebusaway.webapp.gwt.oba_application.control.state.State

      initializeWidget();
    return _panel;
  }

  public void handleUpdate(StateEvent event) {
    State state = event.getState();
    if (state instanceof SearchStartedState) {
      _progressPanel.setVisible(true);
      //_progressBar.setProgress(0);
      clear();
    } else if (state instanceof SearchProgressState) {
View Full Code Here

Examples of org.openhab.core.types.State

    // set the default send-update frequency to 200ms 
    String frequency = cp.getFrequency()==0 ? "200" : Integer.toString(cp.getFrequency());
   
    // get RGB hex value
    State state = itemUIRegistry.getState(cp);
    String hexValue = "#ffffff";
    if(state instanceof HSBType) {
      HSBType hsbState = (HSBType) state;
      Color color = hsbState.toColor();
      hexValue = "#" + Integer.toHexString(color.getRGB()).substring(2);
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.