com.jmex.bui.border
Class CompoundBorder

java.lang.Object
  extended by com.jmex.bui.border.BBorder
      extended by com.jmex.bui.border.CompoundBorder

public class CompoundBorder
extends BBorder

Combines two borders into a single compound border.


Field Summary
protected  BBorder _inner
           
protected  Insets _insets
           
protected  BBorder _outer
           
 
Constructor Summary
CompoundBorder(BBorder outer, BBorder inner)
           
 
Method Summary
 Insets adjustInsets(Insets insets)
          Adds the supplied insets to this border's insets and returns adjusted insets.
 void render(Renderer renderer, int x, int y, int width, int height, float alpha)
          Renders this border.
 
Methods inherited from class com.jmex.bui.border.BBorder
wasAdded, wasRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_outer

protected BBorder _outer

_inner

protected BBorder _inner

_insets

protected Insets _insets
Constructor Detail

CompoundBorder

public CompoundBorder(BBorder outer,
                      BBorder inner)
Method Detail

adjustInsets

public Insets adjustInsets(Insets insets)
Description copied from class: BBorder
Adds the supplied insets to this border's insets and returns adjusted insets.

Specified by:
adjustInsets in class BBorder

render

public void render(Renderer renderer,
                   int x,
                   int y,
                   int width,
                   int height,
                   float alpha)
Description copied from class: BBorder
Renders this border.

Overrides:
render in class BBorder


Copyright © 2008 Michael Bayne. All Rights Reserved.