Package bibliothek.gui.dock.action

Examples of bibliothek.gui.dock.action.DockActionIcon


        setTooltip( true, newValue );
        setTooltip( false, newValue );
      }
    };
       
        icon = new DockActionIcon( "replace", this ){
      protected void changed( Icon oldValue, Icon newValue ){
        setIcon( true, newValue );
        setIcon( false, newValue );
      }
    };
View Full Code Here


      tooltip = new DockActionText( "close.tooltip", this ){
      protected void changed( String oldValue, String newValue ){
        setTooltip( newValue )
      }
    };
        icon = new DockActionIcon( "close", this ){
      protected void changed( Icon oldValue, Icon newValue ){
        setIcon( newValue )
      }
    };
    iconHover = new DockActionIcon( "close.hover", this ){
      protected void changed( Icon oldValue, Icon newValue ){
        setIcon( ActionContentModifier.NONE_HOVER, newValue )
      }
    };
    iconPressed = new DockActionIcon( "close.pressed", this ){
      protected void changed( Icon oldValue, Icon newValue ){
        setIcon( ActionContentModifier.NONE_PRESSED, newValue )
      }
    };
       
View Full Code Here

     * get the Icon for this action
     */
    public RenameAction( DockController controller ){
      this.controller = controller;
     
      icon = new DockActionIcon( KEY_ICON, this ){
      protected void changed( Icon oldValue, Icon newValue ){
        setIcon( newValue )
      }
    };
       
View Full Code Here

            throw new NullPointerException( "gotoStroke is null" );
       
        this.control = control;
        this.mode = mode;
       
        iconListener = new DockActionIcon( iconKey, action ){
      protected void changed( Icon oldValue, Icon newValue ){
        setIcon( newValue );
      }
    };
       
View Full Code Here

            protected void valueChanged( KeyStroke oldValue, KeyStroke newValue ) {
                setAccelerator( newValue );
            }
        };
       
        iconListener = new DockActionIcon( iconKey, this ){
      protected void changed( Icon oldValue, Icon newValue ){
        setIcon( newValue );
      }
    };
View Full Code Here

TOP

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

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.