ti.swing.console
Class InverseAttribute

java.lang.Object
  extended byti.swing.console.InverseAttribute
All Implemented Interfaces:
Attribute

public class InverseAttribute
extends java.lang.Object
implements Attribute

An attribute to flip the bg and fg color.

Version:
0.0
Author:
Rob Clark

Field Summary
static Attribute INVERSE
           
 
Constructor Summary
InverseAttribute()
           
 
Method Summary
 Region getRegion(int offset, int length)
          Get a region to apply this region.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVERSE

public static final Attribute INVERSE
Constructor Detail

InverseAttribute

public InverseAttribute()
Method Detail

getRegion

public Region getRegion(int offset,
                        int length)
Get a region to apply this region.

Specified by:
getRegion in interface Attribute
Parameters:
offset - the offset to beginning of region
length - the length of the region
Returns:
a region