Package bibliothek.gui.dock.action

Examples of bibliothek.gui.dock.action.LocationHint


    }
    return delegate.getDockActionCount();
  }

  public LocationHint getLocationHint(){
    return new LocationHint( LocationHint.ACTION_GUARD, LocationHint.RIGHT );
  }
View Full Code Here


         * @param id the unique if of this entry
         */
        public DockableHandle( Dockable dockable, String id ){
            this.dockable = dockable;
            this.id = id;
            source = new MultiDockActionSource( new LocationHint( LocationHint.ACTION_GUARD, LocationHint.RIGHT ) );
            properties = new HashMap<Path, H>();
            history = new LinkedList<Path>();
        }
View Full Code Here

     * @param sources action source which shows the close action
     */
    public DefaultCommonDockable( CDockable dockable, DockActionSource... sources ){
        this.dockable = dockable;
        this.sources = sources;
        actions = new CActionSource( new LocationHint( LocationHint.DOCKABLE, LocationHint.LEFT ));
        setActionOffers( actions );
        dockable.addCDockablePropertyListener( new CDockableAdapter(){
            @Override
            public void titleShownChanged( CDockable dockable ) {
                fireTitleExchanged();
View Full Code Here

            throw new IllegalArgumentException( "Controller should not be null" );
       
    action = new ReplaceAction( controller );
    source = new DefaultDockActionSource();
   
    source.setHint( new LocationHint( LocationHint.ACTION_GUARD, LocationHint.LEFT ));
    setVisible( true );
  }
View Full Code Here

        else
            return 1;
    }

    public LocationHint getLocationHint() {
        return new LocationHint( LocationHint.ACTION_GUARD, LocationHint.RIGHT_OF_ALL );
    }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.action.LocationHint

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.