Package de.yaams.extensions.basemap.tiled.mapeditor.widget

Examples of de.yaams.extensions.basemap.tiled.mapeditor.widget.TButton


    // toolBar.add(Box.createRigidArea(new Dimension(5, 5)));
    // toolBar.add(objectAddButton);
    // toolBar.add(objectRemoveButton);
    // toolBar.add(objectMoveButton);
    toolBar.add(Box.createRigidArea(new Dimension(0, 5)));
    toolBar.add(new TButton(zoomInAction));
    toolBar.add(new TButton(zoomOutAction));
    toolBar.add(Box.createRigidArea(new Dimension(5, 5)));
    toolBar.add(Box.createGlue());

    brushPreview = new BrushPreview();
    mapEventAdapter.addListener(brushPreview);
View Full Code Here


    sliderPanel.add(opacityLabel);
    sliderPanel.add(opacitySlider);
    sliderPanel.setMaximumSize(new Dimension(Integer.MAX_VALUE, sliderPanel.getPreferredSize().height));

    // Layer buttons
    AbstractButton layerAddButton = new TButton(addLayerAction);
    mapEventAdapter.addListener(layerAddButton);

    JPanel layerButtons = new JPanel();
    layerButtons.setLayout(new GridBagLayout());
    GridBagConstraints c = new GridBagConstraints();
    c.fill = GridBagConstraints.BOTH;
    c.weightx = 1;
    layerButtons.add(layerAddButton, c);
    layerButtons.add(new TButton(moveLayerUpAction), c);
    layerButtons.add(new TButton(moveLayerDownAction), c);
    layerButtons.add(new TButton(cloneLayerAction), c);
    layerButtons.add(new TButton(deleteLayerAction), c);
    layerButtons.setMaximumSize(new Dimension(Integer.MAX_VALUE, layerButtons.getPreferredSize().height));

    // tileInstancePropertiesButton = new JButton("Properties");
    // tileInstancePropertiesButton.setActionCommand("tileInstanceProperties");
    // mapEventAdapter.addListener(tileInstancePropertiesButton);
View Full Code Here

TOP

Related Classes of de.yaams.extensions.basemap.tiled.mapeditor.widget.TButton

Copyright © 2018 www.massapicom. 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.