Package viewer.common

Examples of viewer.common.LabeledTextField


        slider_VIS_ROW_HEIGHT.setLabelFormat( Const.FLOAT_FORMAT );
        slider_VIS_ROW_HEIGHT.setInverted( true );
        slider_VIS_ROW_HEIGHT.addChangeListener(
                              new RowHeightSliderListener() );

        fld_VIS_ROW_HEIGHT = new LabeledTextField( "Row Height",
                                                   Const.INTEGER_FORMAT );
        fld_VIS_ROW_HEIGHT.setToolTipText( "Row height of timeline in pixel." );
        fld_VIS_ROW_HEIGHT.setHorizontalAlignment( JTextField.CENTER );
        fld_VIS_ROW_HEIGHT.setEditable( true );
        fld_VIS_ROW_HEIGHT.addActionListener( new RowHeightTextListener() );

        // For constant visible row count during timeline canvas resizing
        slider_VIS_ROW_COUNT = new ScaledSlider( ScaledSlider.VERTICAL );
        slider_VIS_ROW_COUNT.setLabelFormat( Const.FLOAT_FORMAT );
        slider_VIS_ROW_COUNT.setInverted( false );
        slider_VIS_ROW_COUNT.addChangeListener(
                             new RowCountSliderListener() );

        fld_VIS_ROW_COUNT = new LabeledTextField( "Row Count",
                                                  "###0.0#" );
                                                  // Const.INTEGER_FORMAT );
        fld_VIS_ROW_COUNT.setToolTipText(
        "Visible row count in canvas during timeline window resizing." );
        fld_VIS_ROW_COUNT.setHorizontalAlignment( JTextField.CENTER );
View Full Code Here


        this.model         = model;
        setLayout( new BoxLayout( this, BoxLayout.X_AXIS ) );

        vport_list         = new ArrayList();

        fld_iZoom_level    = new LabeledTextField( "Zoom Level ",
                                                   Const.INTEGER_FORMAT );
        fld_iZoom_level.setEditable( false );
        fld_iZoom_level.setHorizontalAlignment( JTextField.CENTER );
        add( fld_iZoom_level ); // addSeparator();

        fld_tGlobal_min    = new LabeledTextField( "Global Min Time",
                                                   Const.PANEL_TIME_FORMAT );
        fld_tGlobal_min.setEditable( false );
        add( fld_tGlobal_min ); // addSeparator();

        fld_tView_init     = new LabeledTextField( "View  Init Time",
                                                   Const.PANEL_TIME_FORMAT );
        fld_tView_init.setEditable( true );
        add( fld_tView_init ); // addSeparator();

        fld_tZoom_focus    = new LabeledTextField( "Zoom Focus Time",
                                                   Const.PANEL_TIME_FORMAT );
        fld_tZoom_focus.setEditable( true );
        add( fld_tZoom_focus );

        fld_tView_final    = new LabeledTextField( "View Final Time",
                                                   Const.PANEL_TIME_FORMAT );
        fld_tView_final.setEditable( true );
        add( fld_tView_final ); // addSeparator();

        fld_tGlobal_max    = new LabeledTextField( "Global Max Time",
                                                   Const.PANEL_TIME_FORMAT );
        fld_tGlobal_max.setEditable( false );
        add( fld_tGlobal_max ); // addSeparator();

        fld_time_per_pixel = new LabeledTextField( "Time Per Pixel",
                                                   Const.PANEL_TIME_FORMAT );
        fld_time_per_pixel.setEditable( true );
        add( fld_time_per_pixel ); // addSeparator();

        super.setBorder( BorderFactory.createEtchedBorder() );
View Full Code Here

    {
        super();
        treetrunk  = in_treetrunk;
        setLayout( new BoxLayout( this, BoxLayout.X_AXIS ) );

        fld_low2max_depth   = new LabeledTextField( "Lowest / Max. Depth",
                                                    null );
        fld_low2max_depth.setEditable( false );
        fld_low2max_depth.setHorizontalAlignment( JTextField.CENTER );
        // fld_tree_depth.addActionListener( this );
        add( fld_low2max_depth );
View Full Code Here

TOP

Related Classes of viewer.common.LabeledTextField

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.