ReportMill 7.0 API

com.reportmill.graphics
Class RMFill

java.lang.Object
  extended bycom.reportmill.foundation.RMObject
      extended bycom.reportmill.graphics.RMFill
All Implemented Interfaces:
java.lang.Cloneable, com.reportmill.foundation.RMArchiver.Archiving
Direct Known Subclasses:
RMImageFill

public class RMFill
extends com.reportmill.foundation.RMObject


Constructor Summary
RMFill()
          Creates a plain, black fill.
RMFill(RMColor aColor)
          Creates a plain fill with the given color.
 
Method Summary
 RMFill deriveFill(RMColor aColor)
          Returns a fill just like the receiver, but with the given color (only interesting for subsclasses).
 boolean equals(java.lang.Object anObj)
          Standard equals implementation.
 java.lang.Object fromXML(com.ribs.RXArchiver anArchiver, com.ribs.RXElement anElement)
          XML Unarchival.
 RMColor getColor()
          Returns the color associated with this fill.
 java.lang.Object initWithArchiver(com.reportmill.foundation.RMArchiver anArchiver)
          Legacy unarchival.
static RMFill plain()
          Returns a plain back fill.
 void setColor(RMColor aColor)
          Sets the color associated with this fill.
 com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
          XML archival.
 
Methods inherited from class com.reportmill.foundation.RMObject
archiverClassName, clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, undoClone, undoCopy, undoEquals
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMFill

public RMFill()
Creates a plain, black fill.


RMFill

public RMFill(RMColor aColor)
Creates a plain fill with the given color.

Method Detail

plain

public static RMFill plain()
Returns a plain back fill.


getColor

public RMColor getColor()
Returns the color associated with this fill.


setColor

public void setColor(RMColor aColor)
Sets the color associated with this fill.


deriveFill

public RMFill deriveFill(RMColor aColor)
Returns a fill just like the receiver, but with the given color (only interesting for subsclasses).


equals

public boolean equals(java.lang.Object anObj)
Standard equals implementation.


toXML

public com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
XML archival.


fromXML

public java.lang.Object fromXML(com.ribs.RXArchiver anArchiver,
                                com.ribs.RXElement anElement)
XML Unarchival.


initWithArchiver

public java.lang.Object initWithArchiver(com.reportmill.foundation.RMArchiver anArchiver)
Legacy unarchival.


ReportMill 7.0 API