Package de.sciss.app

Examples of de.sciss.app.GraphicsHandler


 
  public VolumeFader()
  {
    super( SwingConstants.VERTICAL, -72, 18, 0 );

    final GraphicsHandler  gh;
    final Dictionary    dictVolume;
    final Font        fnt;
//    final Font        fntBold;
    final JLabel      lbZero;
    JLabel          lb, lbZeroTmp = null;

    putClientProperty( "JSlider.isFilled", Boolean.TRUE )// used by Metal-lnf
    dictVolume = createStandardLabels( 12 );
    setMinorTickSpacing( 3 );
    setMajorTickSpacing( 12 );
    gh  = AbstractApplication.getApplication().getGraphicsHandler();
    fnt = gh.getFont( GraphicsHandler.FONT_LABEL | GraphicsHandler.FONT_MINI );
//    fntBold = gh.getFont( GraphicsHandler.FONT_BOLDSYSTEM | GraphicsHandler.FONT_MINI );
    for( Enumeration en = dictVolume.elements(); en.hasMoreElements(); ) {
      lb = (JLabel) en.nextElement();
      if( lb.getText().equals( "-72" )) lb.setText( "-\u221E" );
      if( lb.getText().equals( "0" )) {
View Full Code Here

TOP

Related Classes of de.sciss.app.GraphicsHandler

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.