Search this API

y.view
Class Graph2DPrinter.AbstractFooterDrawable

java.lang.Object
  extended by y.view.Graph2DPrinter.AbstractTextBarDrawable
      extended by y.view.Graph2DPrinter.AbstractFooterDrawable
All Implemented Interfaces:
Drawable, Graph2DPrinter.FooterDrawable, Graph2DPrinter.TitleDrawable
Direct Known Subclasses:
Graph2DPrinter.DefaultFooterDrawable, Graph2DPrinter.RepeatingFooterDrawable
Enclosing class:
Graph2DPrinter

public abstract static class Graph2DPrinter.AbstractFooterDrawable
extends Graph2DPrinter.AbstractTextBarDrawable

Abstract footer drawable that defines the position of the footer on a page and manages the background color.

 

Constructor Summary
Graph2DPrinter.AbstractFooterDrawable()
           
 
Method Summary
 java.awt.Color getFooterColor()
          Returns the background color of the footer.
 void paint(java.awt.Graphics2D gfx)
          Paints itself on the given graphics context.
 void setFooterColor(java.awt.Color footerColor)
          Sets the background color of the footer.
 
Methods inherited from class y.view.Graph2DPrinter.AbstractTextBarDrawable
getBounds, getFont, getPrintContext, getText, getTextColor, setContext, setFont, setPrintContext, setText, setTextColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph2DPrinter.AbstractFooterDrawable

public Graph2DPrinter.AbstractFooterDrawable()
Method Detail

paint

public void paint(java.awt.Graphics2D gfx)
Description copied from interface: Drawable
Paints itself on the given graphics context.

Specified by:
paint in interface Drawable
Specified by:
paint in class Graph2DPrinter.AbstractTextBarDrawable

getFooterColor

public java.awt.Color getFooterColor()
Returns the background color of the footer.


setFooterColor

public void setFooterColor(java.awt.Color footerColor)
Sets the background color of the footer.

Parameters:
footerColor - The background color to set.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.