Package base.statistics

Examples of base.statistics.CategoryWeightF$IndexOrder


        String    type_name     = " Summary " + topo + " ";

        Border        border     = null;
        CategoryLabel label_type = null;
        if ( clicked_obj instanceof CategoryTimeBox ) {
            CategoryWeightF  twgf;
            twgf       = ( (CategoryTimeBox) clicked_obj ).getCategoryWeightF();
            label_type = new CategoryLabel( twgf.getCategory() );
            border     = BorderFactory.createTitledBorder(
                                       Normal_Border, type_name,
                                       TitledBorder.LEFT, TitledBorder.TOP,
                                       Const.FONT, Color.magenta );
        }
View Full Code Here


                return CategoryWeightF.PRINT_INCL_RATIO;
        }

        public void  setCategoryTimeBoxText( final CategoryTimeBox typebox )
        {
            CategoryWeightF twgf;
            String          twgf_str;
            int             print_status;
            twgf          = typebox.getCategoryWeightF();
            print_status  = getPrintStatus( twgf.getCategory().getTopology() );
            num_rows++;
            strbuf.append( "\n" + CategoryWeightF.getPrintTitle(print_status) );

            twgf_str      = twgf.toInfoBoxString( print_status );
            if ( num_cols < twgf_str.length() )
                num_cols = twgf_str.length();
            num_rows++;
            strbuf.append( "\n" + twgf_str );
        }
View Full Code Here

        public void setTimeAveBoxText( final TimeAveBox  avebox )
        {
            StringBuffer       linebuf;
            Topology           avebox_topo;
            CategoryTimeBox[]  typeboxes;
            CategoryWeightF    twgf;
            String             twgf_str;
            int                print_status;
            int                idx;

            typeboxes     = avebox.arrayOfCategoryTimeBoxes();
            twgf          = typeboxes[ 0 ].getCategoryWeightF();
            avebox_topo   = twgf.getCategory().getTopology();

         // linebuf = new StringBuffer("Averaged Number of Real Drawables = ");
            linebuf = new StringBuffer( "Averaged Number of Real " );
            linebuf.append( avebox_topo + "s = " );
            linebuf.append( nfmt.format( avebox.getAveNumOfRealObjects() ) );
            if ( num_cols < linebuf.length() )
                num_cols = linebuf.length();
            num_rows++;
            strbuf.append( "\n" + linebuf.toString() );
   
            print_status  = getPrintStatus( avebox_topo );
            num_rows++;
            strbuf.append( "\n" + CategoryWeightF.getPrintTitle(print_status) );
            for ( idx = 0; idx < typeboxes.length; idx++ ) {
                twgf     = typeboxes[ idx ].getCategoryWeightF();
                twgf_str = twgf.toInfoBoxString( print_status );
                if ( num_cols < twgf_str.length() )
                    num_cols = twgf_str.length();
                num_rows++;
                strbuf.append( "\n" + twgf_str );
            }                              
View Full Code Here

TOP

Related Classes of base.statistics.CategoryWeightF$IndexOrder

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.