Examples of ToolBar


Examples of de.agilecoders.wicket.core.markup.html.bootstrap.button.Toolbar

                return Generics2.newArrayList(createButton("Left"), createButton("Center"), createButton("Right"));
            }
        };
        add(buttonGroup);

        Toolbar toolbar = new Toolbar("toolbar");
        toolbar.add(newButtonGroup("buttonGroup1", 3));
        toolbar.add(newButtonGroup("buttonGroup2", 5));
        toolbar.add(newButtonGroup("buttonGroup3", 1));
        add(toolbar);

        ButtonGroup verticalButtonGroup = new ButtonGroup("verticalButtonGroup", Buttons.Orientation.Vertical) {
            @Override
            protected List<AbstractLink> newButtons(String buttonMarkupId) {
View Full Code Here

Examples of de.sciss.eisenkraut.gui.ToolBar

    final AbstractAction  actionPlay, actionStop, actionGoToTime;
    final JButton      ggFFwd, ggRewind;
    final InputMap      imap    = this.getInputMap( JComponent.WHEN_IN_FOCUSED_WINDOW );
    final ActionMap      amap    = this.getActionMap();

    toolBar      = new ToolBar( SwingConstants.HORIZONTAL );

        ggRewind    = new JButton();
    GraphicsUtil.setToolIcons( ggRewind, GraphicsUtil.createToolIcons( GraphicsUtil.ICON_REWIND ));
    ggRewind.addChangeListener( new CueListener( ggRewind, -100 ));
        ActionCue actionRwdOn  = new ActionCue( ggRewind, true );
View Full Code Here

Examples of de.sciss.meloncillo.gui.ToolBar

   */
  public void init( Receiver rcv )
  {
    super.init( rcv );

    final ToolBar    vtb    = new VectorEditorToolBar();
    final Box      b    = Box.createHorizontalBox();
    final JPanel    gp    = GUIUtil.createGradientPanel();
    final Container    c    = getContentPane();
    c.setLayout( new BoxLayout( c, BoxLayout.Y_AXIS ));
    vtb.setOpaque( false );
    b.add( vtb );
    b.add( Box.createHorizontalGlue() );
    gp.add( b );
    c.add( gp );
    c.add( padPanel1 );
    c.add( padPanel2 );
        if( AbstractApplication.getApplication().getUserPrefs().getBoolean(
      PrefsUtil.KEY_INTRUDINGSIZE, false )) {
     
            c.add( Box.createVerticalStrut( 16 ));
        }
    vtb.addToolActionListener( distanceEditor );
    vtb.addToolActionListener( rotationEditor );

    updateSpaces();
    setVectors();
    observer  = (ObserverPalette) AbstractApplication.getApplication().getComponent( Main.COMP_OBSERVER );
    surface    = (SurfaceFrame) AbstractApplication.getApplication().getComponent( Main.COMP_SURFACE );
View Full Code Here

Examples of javafx.scene.control.ToolBar

 
  @Override
  public void start(final Stage primaryStage) throws Exception {
    primaryStage.setTitle(Gauge.class.getSimpleName() + " TEST");
   
    ToolBar root = new ToolBar();
    root.setOrientation(Orientation.VERTICAL);
    final Gauge gauge = new Gauge(IndicatorType.NEEDLE, 1d, 0.5d, "%04.2f", 0, 0d, 180d, 10, 4);
    //gauge.setTickValue(1d);
    //gauge.intensityIndicatorRegionsProperty.setValue(new Gauge.IntensityIndicatorRegions(10d, 80d, 10d));
    //gauge.snapToTicksProperty.set(true);
    //gauge.setCache(false);
    final Gauge gaugeRegion1 = createRegionKnob(Color.GREEN,
        gauge.intensityIndicatorRegionsProperty.getValue().getColor1SpanPercentage());
    final Gauge gaugeRegion2 = createRegionKnob(Color.GOLD,
        gauge.intensityIndicatorRegionsProperty.getValue().getColor2SpanPercentage());
    final Gauge gaugeRegion3 = createRegionKnob(Color.RED,
        gauge.intensityIndicatorRegionsProperty.getValue().getColor3SpanPercentage());
    addIntensityChangeListener(gauge, gaugeRegion1, gaugeRegion2, gaugeRegion3, 0);
    addIntensityChangeListener(gauge, gaugeRegion2, gaugeRegion1, gaugeRegion3, 1);
    addIntensityChangeListener(gauge, gaugeRegion3, gaugeRegion1, gaugeRegion2, 2);
    final HBox gaugeIntensitySliders = new HBox(5d);
    gaugeIntensitySliders.getChildren().addAll(gaugeRegion1, gaugeRegion2, gaugeRegion3);
    final VBox col1 = new VBox();
    col1.getChildren().addAll(gauge, gaugeIntensitySliders);
   
    final Gauge gauge2 = new Gauge(IndicatorType.NEEDLE, 0.5d, 1d, null, -2, 45d, 90d, 5, 0);
    gauge2.setTickValue(0);
    final Gauge gauge4 = new Gauge(IndicatorType.NEEDLE, 0.5d, 1d, "%03d", 2, 135d, 90d, 9, 4);
    final VBox col2 = new VBox();
    col2.getChildren().addAll(gauge2, gauge4);

    final Gauge gauge5 = new Gauge(IndicatorType.KNOB, 1d, 1d, "%04.2f", 0, 0d, 360d, 20, 0);
    gauge5.setTickValue(11.5d);
    final VBox col3 = new VBox();
    col3.getChildren().addAll(gauge5);
   
    final HBox row1 = new HBox();
    row1.getChildren().addAll(col1, col2, col3);
   
    final HBox row2 = new HBox();
    final Gauge gauge3 = new Gauge(IndicatorType.NEEDLE, 0.5d, 0.5d, "%04.2f", 0, 0d, 360d, 20, 1);
    final Gauge gauge6 = new Gauge(IndicatorType.NEEDLE, 0.5d, 1d, "%04.2f", 0, 250d, 310d, 10, 0);
    row2.getChildren().addAll(gauge3, gauge6);
   
    root.getItems().addAll(row1, row2);
    primaryStage.setScene(new Scene(root));
    primaryStage.show();
  }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.gui.ToolBar

      }
    }

    private void createToolBar()
    {
      _tb = new ToolBar();
      _tb.setUseRolloverButtons(true);
      _tb.setFloatable(false);

         if (_app.getDesktopStyle().isInternalFrameStyle())
         {
View Full Code Here

Examples of org.activiti.explorer.ui.custom.ToolBar

   
    toolBar.setActiveEntry(KEY_EDITOR);
  }
 
  protected ToolBar initToolbar() {
    toolBar = new ToolBar();
   
    toolBar.addToolbarEntry(KEY_EDITOR, ExplorerApp.get().getI18nManager().getMessage(Messages.PROCESS_EDITOR_TITLE), new ToolbarCommand() {
      public void toolBarItemSelected() {
        if (imagePanel != null) {
          imagePanel.setVisible(false);
View Full Code Here

Examples of org.andrewberman.ui.menu.Toolbar

 
  @Override
  public void setup()
  {
    super.setup();
    Toolbar t = new Toolbar(this);
    t.setOrientation(Toolbar.VERTICAL);
    CheckBox b = new CheckBox();
    b.setName("Hello");
    b.setProperty(this, "isEnabled");
    t.add(b);
    NumberScroller s = new NumberScroller();
    s.setName("ScrollMe");
    s.setDefault(50);
    t.add(s);
    t.add("Whatever");
    t.get("Whatever").add("Hey");
    t.get("Whatever").add("How");
    t.get("Whatever").add("Hoo");
  }
View Full Code Here

Examples of org.antlr.works.utils.Toolbar

    public DBControlPanel(DebuggerTab debuggerTab) {
        super(new BorderLayout());

        this.debuggerTab = debuggerTab;

        Toolbar box = Toolbar.createHorizontalToolbar();
        box.addElement(stopButton = createStopButton());
        box.addGroupSeparator();
        box.addElement(goToStartButton = createGoToStartButton());
        box.addElement(backButton = createStepBackButton());
        box.addElement(forwardButton = createStepForwardButton());
        box.addElement(stepOverButton = createStepOverButton());
        box.addElement(fastForwardButton = createFastForwardButton());
        box.addElement(goToEndButton = createGoToEndButton());
        box.addGroupSeparator();
        createBreakEvents(box);
        box.addElement(Box.createHorizontalGlue());
        box.addElement(createInfoLabelPanel());

        add(box, BorderLayout.CENTER);
    }
View Full Code Here

Examples of org.damour.base.client.ui.toolbar.ToolBar

    getApplicationContentDeck().add(new Launcher(getAuthenticatedUser()));
    getApplicationContentDeck().showWidget(0);
  }

  public ToolBar buildApplicationToolBar() {
    ToolBar tb = super.buildApplicationToolBar();
//    tb.add(new Label("hello"));
//    tb.addPadding(5);
    return tb;
  }
View Full Code Here

Examples of org.eclipse.swt.widgets.ToolBar

        sectionLayout.numColumns = 1;
        sectionClient.setLayout(sectionLayout);

        ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
        ToolBar toolbar = toolBarManager.createControl(section);

        Action action1 = new Action("refresh", Plugin.getDefault().getImageRegistry().getDescriptor(Plugin.IMAGE_REFRESH)) {
            public void run() {
                try {
                    refresh();
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.