com.jmex.bui.border
Class BBorder

java.lang.Object
  extended by com.jmex.bui.border.BBorder
Direct Known Subclasses:
CompoundBorder, EmptyBorder, LineBorder

public abstract class BBorder
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
BBorder()
           
 
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.
 void wasAdded()
          Called when the component that contains this border is was added to the interface hierarchy.
 void wasRemoved()
          Called when the component that contains this border is no longer part of a user interface hierarchy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BBorder

public BBorder()
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.


wasAdded

public void wasAdded()
Called when the component that contains this border is was added to the interface hierarchy.


wasRemoved

public void wasRemoved()
Called when the component that contains this border is no longer part of a user interface hierarchy.



Copyright © 2008 Michael Bayne. All Rights Reserved.