com.sibvisions.rad.ui
Class AbstractFactory

java.lang.Object
  extended by com.sibvisions.rad.ui.AbstractFactory
All Implemented Interfaces:
IFactory
Direct Known Subclasses:
AwtFactory

public abstract class AbstractFactory
extends java.lang.Object
implements IFactory

The AbstractFactory is an abstract implementation of IFactory , which provides common functionality.


Field Summary
protected  java.util.Map<java.lang.String,java.lang.Object> properties
          The Map which holds the properties.
 
Constructor Summary
AbstractFactory()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.String pName)
          Gets the value of the property with the given name.
 void setProperty(java.lang.String pName, java.lang.Object pValue)
          Sets the given value with the given name as property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IFactory
createBorderLayout, createButton, createCellFormat, createChart, createCheckBox, createCheckBoxCellEditor, createCheckBoxMenuItem, createChoiceCellEditor, createColor, createCustomComponent, createCustomContainer, createDateCellEditor, createDesktopPanel, createDimension, createEditor, createFlowLayout, createFont, createFormLayout, createFrame, createGridLayout, createGroupPanel, createIcon, createImageViewer, createInsets, createInternalFrame, createLabel, createLinkedCellEditor, createMenu, createMenuBar, createMenuItem, createNumberCellEditor, createPanel, createPasswordField, createPoint, createPopupMenu, createRadioButton, createRectangle, createScrollPanel, createSeparator, createSplitPanel, createTable, createTabsetPanel, createTextArea, createTextCellEditor, createTextField, createToggleButton, createToolBar, createToolBarPanel, createTree, createWindow, getAvailableFontFamilyNames, getDefaultCellEditor, getImage, getImage, getImageMapping, getImageMappingNames, getPredefinedCursor, getSystemColor, getSystemCustomCursor, invokeAndWait, invokeInThread, invokeLater, setDefaultCellEditor, setImageMapping, setSystemColor
 

Field Detail

properties

protected java.util.Map<java.lang.String,java.lang.Object> properties
The Map which holds the properties.

Constructor Detail

AbstractFactory

public AbstractFactory()
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String pName)
Gets the value of the property with the given name.

Specified by:
getProperty in interface IFactory
Parameters:
pName - the name of the property.
Returns:
the value of the property with the given name.

setProperty

public void setProperty(java.lang.String pName,
                        java.lang.Object pValue)
Sets the given value with the given name as property.

Specified by:
setProperty in interface IFactory
Parameters:
pName - the name of the property.
pValue - the value of the property.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.