Examples of expand()


Examples of com.extjs.gxt.ui.client.widget.ContentPanel.expand()

        if (!ai.isCollapsed()) {
          activeItem = null;
          Listener<ComponentEvent> l = new Listener<ComponentEvent>() {
            public void handleEvent(ComponentEvent be) {
              ai.removeListener(Events.Collapse, this);
              p.expand();
            }
          };

          ai.addListener(Events.Collapse, l);
          ai.collapse();
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayout.expand()

        @Override
        public void componentSelected(ButtonEvent ce) {
          String txt = ce.getButton().getText();
          if (txt.equals("Expand")) {
            layout.expand(r);
          } else if (txt.equals("Collapse")) {
            layout.collapse(r);
          } else if (txt.equals("Show")) {
            layout.show(r);
          } else {
View Full Code Here

Examples of com.google.caja.parser.quasiliteral.ES53Rewriter.expand()

          .withInput(cp)
          .build();

      UncajoledModule ucm = new UncajoledModule(input);
      Rewriter esrw = new ES53Rewriter(buildInfo, mq, false /* logging */);
      cajoledModule = (CajoledModule) esrw.expand(ucm);
    } catch (ParseException e) {
      e.toMessageQueue(mq);
    } catch (IllegalStateException e) {
      mq.addMessage(MessageType.INTERNAL_ERROR,
          MessagePart.Factory.valueOf(e.getMessage()));
View Full Code Here

Examples of com.google.caja.parser.quasiliteral.InnocentCodeRewriter.expand()

    try {
      Block start = p.parse();
      tq.expectEmpty();
      Rewriter icr = new InnocentCodeRewriter(errs, false /* logging */);
      output = Rewriter.render(icr.expand(start));
      out.append(output);
    } catch (ParseException ex) {
      ex.toMessageQueue(errs);
    }

View Full Code Here

Examples of com.google.caja.parser.quasiliteral.Rewriter.expand()

          .withInput(cp)
          .build();

      UncajoledModule ucm = new UncajoledModule(input);
      Rewriter esrw = new ES53Rewriter(buildInfo, mq, false /* logging */);
      cajoledModule = (CajoledModule) esrw.expand(ucm);
    } catch (ParseException e) {
      e.toMessageQueue(mq);
    } catch (IllegalStateException e) {
      mq.addMessage(MessageType.INTERNAL_ERROR,
          MessagePart.Factory.valueOf(e.getMessage()));
View Full Code Here

Examples of com.gwtext.client.widgets.tree.TreeNode.expand()

        tn.appendChild( getCategoriesStructure() );

        //seem to have to open it on a timer...
        Timer t = new Timer() {
            public void run() {
                inbox.expand();
            }
        };
        t.schedule( 100 );

        return tn;
View Full Code Here

Examples of com.knowgate.hipergate.Category.expand()

            oInsr.executeUpdate(sSQL);

            oInsr.close();

            Category oMailRoot = new Category(sGuMailRoot);
            oMailRoot.expand(oConn);
            sRetVal = sNewGUID;
          }
        }
      }
      else {
View Full Code Here

Examples of com.sk89q.worldedit.regions.CuboidRegion.expand()

        // Expand Left
        for (int i = 0; i < left; i++) {
            if(!BlockUtil.areBlocksIdentical(distalBaseCenter.getRelative(SignUtil.getLeft(trigger), i), proximalBaseCenter.getRelative(SignUtil.getLeft(trigger), i)))
                throw new InvalidMechanismException("mech.bridge.material");
            toggle.expand(BukkitUtil.toVector(SignUtil.getLeft(trigger)), new Vector(0, 0, 0));
        }

        // Expand Right
        for (int i = 0; i < right; i++) {
            if(!BlockUtil.areBlocksIdentical(distalBaseCenter.getRelative(SignUtil.getRight(trigger), i), proximalBaseCenter.getRelative(SignUtil.getRight(trigger), i)))
View Full Code Here

Examples of com.sk89q.worldedit.regions.Region.expand()

        if (args.getString(0).equalsIgnoreCase("vert")
                || args.getString(0).equalsIgnoreCase("vertical")) {
            Region region = session.getSelection(player.getWorld());
            try {
                int oldSize = region.getArea();
                region.expand(
                        new Vector(0, (player.getWorld().getMaxY() + 1), 0),
                        new Vector(0, -(player.getWorld().getMaxY() + 1), 0));
                session.getRegionSelector(player.getWorld()).learnChanges();
                int newSize = region.getArea();
                session.getRegionSelector(player.getWorld()).explainRegionAdjust(player, session);
View Full Code Here

Examples of com.sk89q.worldedit.regions.Region.expand()

        Region region = session.getSelection(player.getWorld());
        int oldSize = region.getArea();

        if (reverseChange == 0) {
            for (Vector dir : dirs) {
                region.expand(dir.multiply(change));
            }
        } else {
            for (Vector dir : dirs) {
                region.expand(dir.multiply(change), dir.multiply(-reverseChange));
            }
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.