Package bibliothek.gui.dock.common.event

Examples of bibliothek.gui.dock.common.event.CDockableAdapter


     * may override this method to disable or modify the feature.
     * @param controller the controller used by this {@link CControl}
     * @see #setTransferFocusOnMinimize(boolean)
     */
    protected void initTransferFocusOnMinimize( DockController controller ){
      addStateListener( new CDockableAdapter(){
        @Override
        public void extendedModeChanged( CDockable dockable, ExtendedMode mode ){
          if( transferFocusOnMinimize ){
            if( mode == ExtendedMode.MINIMIZED ){
              Dockable[] history = getController().getFocusHistory().getHistory();
View Full Code Here


     * Creates a new source
     * @param dockable the element which will be observed for changes
     */
    public CloseActionSource( CDockable dockable ){
        this.dockable = dockable;
        dockable.addCDockablePropertyListener( new CDockableAdapter(){
            @Override
            public void actionChanged( CDockable dockable, String key, CAction oldAction, CAction newAction ) {
                update();
            }
            @Override
View Full Code Here

    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

  private CommonStationDelegate<CSplitDockStation> delegate;

  public CSplitDockStation( CommonStationDelegate<CSplitDockStation> delegate ){
    this.delegate = delegate;

    getDockable().addCDockablePropertyListener( new CDockableAdapter(){
      @Override
      public void titleShownChanged( CDockable dockable ) {
        fireTitleExchanged();
      }
    });
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.common.event.CDockableAdapter

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.