Examples of AnchorLayout


Examples of com.ardor3d.extension.ui.layout.AnchorLayout

        _configFrame.pack(320, 240);
        _configFrame.setUseStandin(true);
        _configFrame.setHudXY(width - _configFrame.getLocalComponentWidth() - 5, height
                - _configFrame.getLocalComponentHeight() - 5);

        _configFrame.getContentPanel().setLayout(new AnchorLayout());

        final UICheckBox vsync = new UICheckBox("Enable vsync");
        vsync.setLayoutData(new AnchorLayoutData(Alignment.TOP_LEFT, _configFrame.getContentPanel(),
                Alignment.TOP_LEFT, 5, -5));
        vsync.setSelectable(true);
View Full Code Here

Examples of com.ardor3d.extension.ui.layout.AnchorLayout

        hud.add(frameRateLabel);

        final UIFrame optionsFrame = new UIFrame("Controls", EnumSet.noneOf(FrameButtons.class));

        final UIPanel basePanel = optionsFrame.getContentPanel();
        basePanel.setLayout(new AnchorLayout());

        runWalkButton = new UIButton("Start running...");
        runWalkButton.setLayoutData(new AnchorLayoutData(Alignment.TOP_LEFT, basePanel, Alignment.TOP_LEFT, 5, -5));
        runWalkButton.addActionListener(new ActionListener() {
            boolean walk = true;
View Full Code Here

Examples of com.ardor3d.extension.ui.layout.AnchorLayout

        hud.add(frameRateLabel);

        final UIFrame optionsFrame = new UIFrame("Controls", EnumSet.noneOf(FrameButtons.class));

        final UIPanel basePanel = optionsFrame.getContentPanel();
        basePanel.setLayout(new AnchorLayout());

        final UIButton loadSceneButton = new UIButton("Load next scene");
        loadSceneButton.setLayoutData(new AnchorLayoutData(Alignment.TOP_LEFT, basePanel, Alignment.TOP_LEFT, 5, -5));
        loadSceneButton.addActionListener(new ActionListener() {
            public void actionPerformed(final ActionEvent event) {
View Full Code Here

Examples of com.ardor3d.extension.ui.layout.AnchorLayout

        hud.add(frameRateLabel);

        final UIFrame optionsFrame = new UIFrame("Controls", EnumSet.noneOf(FrameButtons.class));

        final UIPanel basePanel = optionsFrame.getContentPanel();
        basePanel.setLayout(new AnchorLayout());

        runWalkButton = new UIButton("Start running...");
        runWalkButton.setLayoutData(new AnchorLayoutData(Alignment.TOP_LEFT, basePanel, Alignment.TOP_LEFT, 5, -5));
        runWalkButton.addActionListener(new ActionListener() {
            boolean walk = true;
View Full Code Here

Examples of com.cloudgarden.layout.AnchorLayout

    initGUI();
  }

  private void initGUI() {
    try {
      AnchorLayout thisLayout = new AnchorLayout();
      getContentPane().setLayout(thisLayout);
      {
        reportDetail = new JTextArea();
        getContentPane().add(
            reportDetail,
View Full Code Here

Examples of com.cloudgarden.layout.AnchorLayout

    initGUI();
  }

  private void initGUI() {
    try {
      AnchorLayout thisLayout = new AnchorLayout();
      getContentPane().setLayout(thisLayout);
      {
        referenceLabel = new JLabel();
        getContentPane().add(
            referenceLabel,
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.AnchorLayout

* Time: 5:53:34 PM
*/
public class EditEntryPoint extends CommonEntryPoint {
    public void onModuleLoad() {
        @SuppressWarnings("unused")
        Layout junk = new AnchorLayout();
        checkSession();
        final RootPanel panel = RootPanel.get("editmode");
        if (panel != null) {
            final String path = DOM.getElementAttribute(panel.getElement(), "path");
            final String config = DOM.getElementAttribute(panel.getElement(), "config");
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.AnchorLayout

    public void onModuleLoad() {
        /* todo The following two lines are a hack to get development mode to work on Mac OS X, should be removed once this
           problem is fixed.
         */
        @SuppressWarnings("unused")
        Layout junk = new AnchorLayout();
        checkSession();
        final RootPanel panel = RootPanel.get("contentmanager");
        if (panel != null) {
            final boolean embedded = Boolean.valueOf(DOM.getElementAttribute(panel.getElement(), "embedded"));
            final String filtersString = DOM.getElementAttribute(panel.getElement(), "filters");
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.AnchorLayout

    public void onModuleLoad() {
        /* todo The following two lines are a hack to get development mode to work on Mac OS X, should be removed once this
           problem is fixed.
         */
        @SuppressWarnings("unused")
        Layout junk = new AnchorLayout();
        final RootPanel panel = RootPanel.get("contentpicker");
        if (panel != null) {
            final String jahiaContextPath = DOM.getElementAttribute(panel.getElement(), "jahiaContextPath");
            final String jahiaServletPath = DOM.getElementAttribute(panel.getElement(), "jahiaServletPath");
            final String filesServletPath = DOM.getElementAttribute(panel.getElement(), "filesServletPath");
View Full Code Here

Examples of com.gwtext.client.widgets.layout.AnchorLayout

*/
//credits : this class has been adapted from the Ext portal sample
public class PortalColumn extends Container {

    public PortalColumn() {
        setLayout(new AnchorLayout());
        setAutoEl("div");
        setCls("x-portal-column");
    setPaddings(10, 10, 0, 10);
  }
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.