SRJRCFrames
v0.1.296

de.schwarzrot.ui.service
Class DefaultRendererFactory

java.lang.Object
  extended by de.schwarzrot.ui.service.DefaultRendererFactory
All Implemented Interfaces:
RendererFactory

public class DefaultRendererFactory
extends Object
implements RendererFactory

default implementation of a factory, that creates TableCellRenderers

Author:
Reinhard Mantey

Nested Class Summary
static class DefaultRendererFactory.BooleanRenderer
           
static class DefaultRendererFactory.DateRenderer
           
static class DefaultRendererFactory.DatetimeRenderer
           
static class DefaultRendererFactory.EnumIconRenderer
           
static class DefaultRendererFactory.EnumRenderer
           
static class DefaultRendererFactory.NumberRenderer
           
static class DefaultRendererFactory.StringRenderer
           
static class DefaultRendererFactory.TimeRenderer
           
 
Field Summary
protected static ImageFactory imgFactory
           
protected static MessageSource msgSource
           
 
Constructor Summary
DefaultRendererFactory()
           
 
Method Summary
 TableCellRenderer getBooleanRenderer()
           
 TableCellRenderer getDateRenderer()
           
 TableCellRenderer getDateRenderer(String datePattern)
           
 TableCellRenderer getDatetimeRenderer()
           
 TableCellRenderer getEnumIconRenderer()
           
 TableCellRenderer getEnumIconRenderer(int horizontalAlignment)
           
 TableCellRenderer getEnumRenderer()
           
 TableCellRenderer getEnumRenderer(int horizontalAlignment)
           
 TableCellRenderer getNumberRenderer()
           
 TableCellRenderer getStringRenderer(int horizontalAlignment)
           
 TableCellRenderer getTimeRenderer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imgFactory

protected static ImageFactory imgFactory

msgSource

protected static MessageSource msgSource
Constructor Detail

DefaultRendererFactory

public DefaultRendererFactory()
Method Detail

getBooleanRenderer

public TableCellRenderer getBooleanRenderer()
Specified by:
getBooleanRenderer in interface RendererFactory

getDateRenderer

public TableCellRenderer getDateRenderer()
Specified by:
getDateRenderer in interface RendererFactory

getDateRenderer

public TableCellRenderer getDateRenderer(String datePattern)
Specified by:
getDateRenderer in interface RendererFactory

getDatetimeRenderer

public TableCellRenderer getDatetimeRenderer()
Specified by:
getDatetimeRenderer in interface RendererFactory

getEnumIconRenderer

public TableCellRenderer getEnumIconRenderer()
Specified by:
getEnumIconRenderer in interface RendererFactory

getEnumIconRenderer

public TableCellRenderer getEnumIconRenderer(int horizontalAlignment)
Specified by:
getEnumIconRenderer in interface RendererFactory

getEnumRenderer

public TableCellRenderer getEnumRenderer()
Specified by:
getEnumRenderer in interface RendererFactory

getEnumRenderer

public TableCellRenderer getEnumRenderer(int horizontalAlignment)
Specified by:
getEnumRenderer in interface RendererFactory

getNumberRenderer

public TableCellRenderer getNumberRenderer()
Specified by:
getNumberRenderer in interface RendererFactory

getStringRenderer

public TableCellRenderer getStringRenderer(int horizontalAlignment)
Specified by:
getStringRenderer in interface RendererFactory

getTimeRenderer

public TableCellRenderer getTimeRenderer()
Specified by:
getTimeRenderer in interface RendererFactory

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.