Examples of disable()


Examples of ae.java.awt.peer.ComponentPeer.disable()

                    // makes sense to the user.
                    transferFocus(false);
                }
                ComponentPeer peer = this.peer;
                if (peer != null) {
                    peer.disable();
                    if (visible) {
                        updateCursorImmediately();
                    }
                }
            }
View Full Code Here

Examples of ae.java.awt.peer.MenuItemPeer.disable()

    @Deprecated
    public synchronized void disable() {
        enabled = false;
        MenuItemPeer peer = (MenuItemPeer)this.peer;
        if (peer != null) {
            peer.disable();
        }
    }

    /**
     * Get the <code>MenuShortcut</code> object associated with this
View Full Code Here

Examples of cc.plural.ecs.renderer.Mesh.disable()

                    shader.setUniform(shader.getUniformLocation("viewMatrix"), viewMatrix);
                    shader.setUniform(shader.getUniformLocation("modelMatrix"), modelMatrix);

                    mesh.enable(shader);
                    GL11.glDrawElements(GL11.GL_TRIANGLES, mesh.getIndicesCount(), GL11.GL_UNSIGNED_SHORT, 0);
                    mesh.disable(shader);
                }
                shader.disable();
            }
            texture.disable();
        }
View Full Code Here

Examples of cc.plural.ecs.renderer.Shader.disable()

                    mesh.enable(shader);
                    GL11.glDrawElements(GL11.GL_TRIANGLES, mesh.getIndicesCount(), GL11.GL_UNSIGNED_SHORT, 0);
                    mesh.disable(shader);
                }
                shader.disable();
            }
            texture.disable();
        }

        batch.clear();
View Full Code Here

Examples of cc.plural.ecs.renderer.Texture.disable()

                    GL11.glDrawElements(GL11.GL_TRIANGLES, mesh.getIndicesCount(), GL11.GL_UNSIGNED_SHORT, 0);
                    mesh.disable(shader);
                }
                shader.disable();
            }
            texture.disable();
        }

        batch.clear();
        lock = false;
    }
View Full Code Here

Examples of com.agiletec.aps.system.common.entity.model.attribute.AttributeInterface.disable()

        if (null == this.getI18nManager().getLabelGroup(attributeLabelKey)) {
          this.addLabelGroups(attributeLabelKey, attribute.getName());
        }
        attribute.setDisablingCodes(this.createNewCodes(attribute.getDisablingCodes()));
        if (null != this.getAttributeName() && !this.getAttributeName().contains(attribute.getName())) {
          attribute.disable(JpFrontShortcutSystemConstants.WIDGET_DISABLING_CODE);
        }
      }
      Lang currentLang = super.getCurrentLang();
      this.getRequest().getSession()
          .setAttribute(JpFrontShortcutSystemConstants.CONTENT_LANG_SESSION_PARAM, currentLang);
View Full Code Here

Examples of com.alibaba.druid.pool.DruidPooledConnection.disable()

    public void test_disable() throws Exception {
        Assert.assertEquals(0, dataSource.getPoolingCount());
        Assert.assertEquals(0, dataSource.getActiveCount());
       
        DruidPooledConnection conn = (DruidPooledConnection) dataSource.getConnection();
        conn.disable();
        Assert.assertEquals(true, conn.isDisable());
       
        Assert.assertEquals(1, dataSource.getActiveCount());
       
        conn.close();
View Full Code Here

Examples of com.caucho.cloud.scaling.ResinScalingClient.disable()

    String server = args.getDefaultArg();

    if (server == null)
      throw new ConfigException("server is not specified");

    CloudServerState state = scalingClient.disable(server);

    scalingClient.close();

    String message;
    if (state == null)
View Full Code Here

Examples of com.cedarsolutions.client.gwt.module.view.ModuleTabView.SelectionHandler.disable()

        assertEquals(1, initHandler.calls);
        assertEquals(UnifiedEventType.INIT_EVENT, initHandler.lastType);
        assertEquals(1, selectedHandler.calls);
        assertEquals(UnifiedEventType.SELECTED_EVENT, selectedHandler.lastType);

        handler.disable();
        handler.onBeforeSelection(1);
        assertTrue(view.isInitialized());
        assertEquals(1, initHandler.calls);
        assertEquals(UnifiedEventType.INIT_EVENT, initHandler.lastType);
        assertEquals(1, selectedHandler.calls);
View Full Code Here

Examples of com.documents4j.builder.ConverterServerBuilder.disable()

                .baseFolder(baseFolder)
                .workerPool(corePoolSize, corePoolSize + fallbackPoolSize, keepAliveTime, TimeUnit.MILLISECONDS)
                .processTimeout(processTimeout, TimeUnit.MILLISECONDS)
                .requestTimeout(requestTimeout, TimeUnit.MILLISECONDS);
        for (Class<? extends IExternalConverter> externalConverter : converterDisabledSpec.values(optionSet)) {
            builder = builder.disable(externalConverter);
        }
        for (Class<? extends IExternalConverter> externalConverter : converterEnabledSpec.values(optionSet)) {
            builder = builder.enable(externalConverter);
        }
        return builder;
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.