1. <nobr id="easjo"><address id="easjo"></address></nobr>

      <track id="easjo"><source id="easjo"></source></track>
      1. 
        

      2. <bdo id="easjo"><optgroup id="easjo"></optgroup></bdo>
      3. <track id="easjo"><source id="easjo"><em id="easjo"></em></source></track><option id="easjo"><span id="easjo"><em id="easjo"></em></span></option>
          貴州做網站公司
          貴州做網站公司~專業!靠譜!
          10年網站模板開發經驗,熟悉國內外開源網站程序,包括DEDECMS,WordPress,ZBlog,Discuz! 等網站程序,可為您提供網站建設,網站克隆,仿站,網頁設計,網站制作,網站推廣優化等服務。我們專注高端營銷型網站,企業官網,集團官網,自適應網站,手機網站,網絡營銷,網站優化,網站服務器環境搭建以及托管運維等。為客戶提供一站式網站解決方案?。?!

          Java ActionList類使用實例

          來源:互聯網轉載 時間:2024-01-29 07:57:23

          實例1: updateLayoutBounds

          import prefuse.action.ActionList; //導入依賴的package包/類/** * Updates the layout bounds of the specified instance visualization to the specified bounds, * allowing the visualization to be rendered at a higher/lower resolution. *  * @param instanceVis *            the instance visualization that will have its layout bounds changed * @param newLayoutBounds *            the new layout bounds */public static void updateLayoutBounds( Visualization instanceVis, Rectangle2D newLayoutBounds ){ActionList axisList = (ActionList)instanceVis.getAction( "axis" );AxisLayout axisX = (AxisLayout)axisList.get( 0 );AxisLayout axisY = (AxisLayout)axisList.get( 1 );axisX.setLayoutBounds( newLayoutBounds );axisY.setLayoutBounds( newLayoutBounds );if ( axisList.size() > 2 ) {// Has labels as well.AxisLabelLayout labelX = (AxisLabelLayout)axisList.get( 2 );AxisLabelLayout labelY = (AxisLabelLayout)axisList.get( 3 );labelX.setLayoutBounds( newLayoutBounds );labelY.setLayoutBounds( newLayoutBounds );}} 

          實例2: createColorizeActions

          import prefuse.action.ActionList; //導入依賴的package包/類private ActionList createColorizeActions( Color color ){ActionList list = new ActionList();list.add(new ColorAction(DATA_ID,VisualItem.FILLCOLOR, color.getRGB()));list.add(new ColorAction(DATA_ID,VisualItem.STROKECOLOR, color.darker().getRGB()));return list;} 

          實例3: TimeOverviewView

          import prefuse.action.ActionList; //導入依賴的package包/類public TimeOverviewView(JRangeSlider time_window_slider) {super(new Visualization());this.time_window_slider = time_window_slider;time_window_slider.addChangeListener(this);// save the reference to global datathis.d = Data.getData();eth = new FastEdgeTimeHistogram(d);              ActionList draw = new ActionList(ActionList.INFINITY,200);       draw.add(new RepaintAction());       m_vis.putAction("draw", draw);       // TODO: this might have a locking issue       m_vis.run("draw");} 

          實例4: updateInstanceVisualizationColors

          import prefuse.action.ActionList; //導入依賴的package包/類public static void updateInstanceVisualizationColors( HVConfig config, Visualization vis ){ColorAction colorize = createInstanceVisualizationColorAction( config );ActionList draw = (ActionList)vis.removeAction( "draw" );draw.remove( 1 ).cancel();draw.add( 1, colorize );vis.putAction( "draw", draw );} 

          實例5: HistogramGraph

          import prefuse.action.ActionList; //導入依賴的package包/類/** * @param histoTable *            a histogrammized version of dataTable * @param startingField *            the name of the field (column) of the data table *            whose histogram is to be shown in the histogram graph. */public HistogramGraph( HistogramTable histoTable, String startingField, Color histogramColor ){super( new Visualization() );m_histoTable = histoTable;startingField = getStartingField( startingField );// --------------------------------------------------------------------// STEP 1: setup the visualized datam_vis.addTable( DATA_ID, m_histoTable );initializeRenderer();// --------------------------------------------------------------------// STEP 2: create actions to process the visual dataActionList colors = createColorizeActions( histogramColor );m_vis.putAction( "color", colors );ActionList draw = new ActionList();draw.add( initializeAxes( startingField ) );draw.add( colors );draw.add( new RepaintAction() );m_vis.putAction( "draw", draw );// --------------------------------------------------------------------// STEP 3: set up a display and ui components to show the visualizationinitializeWindowCharacteristics();// --------------------------------------------------------------------// STEP 4: launching the visualizationm_vis.run( "draw" );} 
          標簽:actionlist-

          網絡推廣與網站優化公司(網絡優化與推廣專家)作為數字營銷領域的核心服務提供方,其價值在于通過技術手段與策略規劃幫助企業提升線上曝光度、用戶轉化率及品牌影響力。這...

          在當今數字化時代,公司網站已成為企業展示形象、傳遞信息和開展業務的重要平臺。然而,對于許多公司來說,網站建設的價格是一個關鍵考量因素。本文將圍繞“公司網站建設價...

          在當今的數字化時代,企業網站已成為企業展示形象、吸引客戶和開展業務的重要平臺。然而,對于許多中小企業來說,高昂的網站建設費用可能會成為其發展的瓶頸。幸運的是,隨...

          索愛k550怎么樣?索尼K550c/K550i參考價格:1250元優勢1.操作簡單,系統反應迅速。2:擁有14mm的超薄機身。3.具有豐富的視聽娛樂功能。4:支持自動對焦和實用相機功能。劣勢1.屏幕分辨率低。2.設計獨特的按鍵,手感不好。3.作為一款Cyber-shot手機,拍照功能缺乏亮點。索愛w700和k750c哪個好?愛W系列主打音樂播放器,K系列主打照片播放器。兩個系列定位不同,看你是喜歡...

          冰糖葫蘆廣場舞原唱?馮曉泉?!侗呛J》是一首由張和平和杜鵬作詞,馮曉泉作曲,馮曉泉演唱的歌曲,于1995年1月1日發行。包括在專輯《龍鳳金歌榜VOL.9》中。歌詞:都說糖葫蘆是酸的,酸中包裹著甜。都說糖葫蘆是甜的,但是表現出來的是里面的酸。糖葫蘆可以和竹簽一起穿,象征幸福和團圓,把幸福和團圓聯系在一起,沒有煩惱和煩惱。如果你站得高,你會看得遠。如果你面對蒼山的召喚,你會怒而心寬,你會年輕二十歲。...

          沈陽航空航天大學是什么學校?沈陽航空航天大學(SAU),簡稱“沈航”,是一所以航空航天為特色,以工科為主,包括工學、理學、文學、經濟學、管理學等學科的高等學府。是由教育部、航空工業集團公司和遼寧省、國防科工局和遼寧省共建,空軍依托培養預備役軍官的全國18所地方院校之一。學校創建于1952年,是原航空工業部下屬的六所本科航空院校之一。最初命名為沈陽航空工業學校,歷經東北第一工業學校、沈陽第一工業學校...

          TOP
          国产初高中生视频在线观看|亚洲一区中文|久久亚洲欧美国产精品|黄色网站入口免费进人
          1. <nobr id="easjo"><address id="easjo"></address></nobr>

              <track id="easjo"><source id="easjo"></source></track>
              1. 
                

              2. <bdo id="easjo"><optgroup id="easjo"></optgroup></bdo>
              3. <track id="easjo"><source id="easjo"><em id="easjo"></em></source></track><option id="easjo"><span id="easjo"><em id="easjo"></em></span></option>