net.ctdp.rfdynhud.values
Class InnerSize

java.lang.Object
  extended by net.ctdp.rfdynhud.values.AbstractSize
      extended by net.ctdp.rfdynhud.values.InnerSize

public class InnerSize
extends AbstractSize

The InnerSize value provides an AbstractSize implementation for the inner size of a Widget (excluding border and padding).

Author:
Marvin Froehlich (CTDP)

Constructor Summary
InnerSize(Size totalSize, BorderProperty border)
           
 
Method Summary
 int getEffectiveHeight()
          Gets the effective height in pixels.
 int getEffectiveWidth()
          Gets the effective width in pixels.
 
Methods inherited from class net.ctdp.rfdynhud.values.AbstractSize
getAspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InnerSize

public InnerSize(Size totalSize,
                 BorderProperty border)
Method Detail

getEffectiveWidth

public final int getEffectiveWidth()
Gets the effective width in pixels.

Specified by:
getEffectiveWidth in class AbstractSize
Returns:
the effective width in pixels.

getEffectiveHeight

public final int getEffectiveHeight()
Gets the effective height in pixels.

Specified by:
getEffectiveHeight in class AbstractSize
Returns:
the effective height in pixels.