Package net.xoetrope.xui

Examples of net.xoetrope.xui.XStartupObject


   * in which case the old menu bar is replaced by this one. The menu bar is
   * normally named by the name of the page within which it was declared.
   */
  public void setup()
  {
    XStartupObject so = currentProject.getStartupObject();
    XMenuBar menuBar = (XMenuBar)so.getApplicationMenuBar();
    if (( menuBar == null ) || menuBar.getName().equals( getName())) {
      so.setApplicationMenuBar( this );
      currentProject.setObject( "MenuBar", this );
    }
    else {
      int numMenus = this.getMenuCount();
      for ( int i = 0; i < numMenus; i++ ) {
View Full Code Here


     
      // Hide the header panel
      dockable.header.getParent().setVisible( !state );

      Object mo = currentProject.getObject( "MenuBar" );
      XStartupObject startupObject = currentProject.getStartupObject();
      if ( state )
        startupObject.setApplicationMenuBar( null );     
      else 
        startupObject.setApplicationMenuBar( mo );
     
    }

    cardPanel.doLayout();
    multiSplitPane.doLayout();
View Full Code Here

   * in which case the old menu bar is replaced by this one. The menu bar is
   * normally named by the name of the page within which it was declared.
   */
  public void setup()
  {
    XStartupObject so = currentProject.getStartupObject();
    XMenuBar menuBar = (XMenuBar)so.getApplicationMenuBar();
    if (( menuBar == null ) || menuBar.getName().equals( getName())) {
      so.setApplicationMenuBar( this );
      currentProject.setObject( "MenuBar", this );
    }
    else {
      int numMenus = this.getMenuCount();
      for ( int i = 0; i < numMenus; i++ ) {
View Full Code Here

TOP

Related Classes of net.xoetrope.xui.XStartupObject

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.