com.threerings.opengl.gui.border
Class CompoundBorder

java.lang.Object
  extended by com.threerings.opengl.gui.border.Border
      extended by com.threerings.opengl.gui.border.CompoundBorder

public class CompoundBorder
extends Border

Combines two borders into a single compound border.


Field Summary
protected  Border _inner
           
protected  Insets _insets
           
protected  Border _outer
           
 
Constructor Summary
CompoundBorder(Border outer, Border 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_outer

protected Border _outer

_inner

protected Border _inner

_insets

protected Insets _insets
Constructor Detail

CompoundBorder

public CompoundBorder(Border outer,
                      Border inner)
Method Detail

adjustInsets

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

Specified by:
adjustInsets in class Border

render

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

Overrides:
render in class Border