Package bibliothek.gui.dock.control.focus

Examples of bibliothek.gui.dock.control.focus.DefaultFocusRequest


     * to select a dockable in a stack while building a layout).<br>
     * There is no guarantee of success, this methods fails silently if the focus cannot be gained.
     */
    public void toFront(){
        if( isVisible() ){
          FocusRequest request = new DefaultFocusRequest( intern(), null, false, true, false, true );
            control.getOwner().intern().getController().setFocusedDockable( request );
        }
    }
View Full Code Here


        }
       
        LocationMode mode = getMode( extendedMode.getModeIdentifier() );
        if( mode != null ){
          if( mode.shouldAutoFocus() ){
            getController().setFocusedDockable( new DefaultFocusRequest( dockable, null, true, true, false ));
          }
          else{
            getController().setFocusedDockable( new DefaultFocusRequest( null, null, true ));
          }
        } 
      }
    });
  }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.control.focus.DefaultFocusRequest

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.