How to use Band Layout ?

The band Layout is used to draw band on the window.

 

BandPalette palette = new BandPalette();
palette.addPaint(PetalPalette.PETAL3_HC);
palette.addPaint(PetalPalette.PETAL4_HC);
           
DynBandManager bandDynLayoutX = new DynBandManager(BandLayoutManager.BAND_VERTICAL,0, 500);
bandDynLayoutX.setBandPalette(palette);
           
BandPainter1 bPainter1 = new BandPainter1();
bPainter1.setAlphaTransparence(1f);
           
                    
           
BandLayout bLayout = new BandLayout(bandDynLayoutX);
bLayout.setPainter(bPainter1);
bLayout.setPriority(0);
           
w2d.registerLayout(bLayout);
           
           
//GRID Y
DynamicGridManager dglY = new DynamicGridManager(GridLayoutManager.GRID_VERTICAL,0,500);
dglY.setGridColor(Color.DARK_GRAY);
GridLayout gLayout = new GridLayout(dglY);
gLayout.setPriority(1);
           
w2d.registerLayout(gLayout);

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
User offline. Last seen 51 weeks 1 day ago. Offline
Joined: 02/01/2011

Hey! I just would like to give a huge thumbs up for the nice data you've right here on this post. I will likely be coming back to your weblog for extra soon.
fat burning furnace exercises lemmocyte ab circle pro thyroglossal kissing tips Panasonic panic attacks thermesthesia the diet solution scam ostentation ab coaster reviews nitridation

User offline. Last seen 42 weeks 4 days ago. Offline
Joined: 02/16/2011

Viagra Ferromagnetic Duplicator

User offline. Last seen 42 weeks 3 days ago. Offline
Joined: 02/18/2011

Ovulation on clomid Contemptible Bevel Buy Xanax hypocenter Food Generic priligy cobol roadster Cialis Bluestone marvel

reim polyspondyly moorburn