com.threerings.opengl.gui.border
Class Border

java.lang.Object
  extended by com.threerings.opengl.gui.border.Border
Direct Known Subclasses:
CompoundBorder, EmptyBorder, LineBorder

public abstract class Border
extends Object

Configures a border around a component that may or may not have associated geometric elements. Note: a border must only be used with a single component at a time.


Constructor Summary
Border()
           
 
Method Summary
abstract  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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Border

public Border()
Method Detail

adjustInsets

public abstract Insets adjustInsets(Insets insets)
Adds the supplied insets to this border's insets and returns adjusted insets.


render

public void render(Renderer renderer,
                   int x,
                   int y,
                   int width,
                   int height,
                   float alpha)
Renders this border.



Copyright © 2011. All Rights Reserved.