|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.layout.LayoutService
public class LayoutService
The LayoutService provides access to the factory for creating layout related classes.
Constructor Summary | |
---|---|
LayoutService()
|
Method Summary | |
---|---|
static ILayoutChooser |
getChooserInstance()
|
static ILayoutFactory |
getFactoryInstance()
|
static ILayoutManager |
getManagerInstance()
|
static boolean |
isValid(java.lang.Object _oKey)
This method is used by sub-objects to validate creation requests. |
static void |
setChooserTestInstance(ILayoutChooser testChooser)
Unit tests should use this method to overwrite/teardown existing chooser singleton. |
static void |
setFactoryTestInstance(ILayoutFactory testFactory)
Unit tests should use this method to overwrite/teardown existing factory singleton. |
static void |
setManagerTestInstance(ILayoutManager testManager)
Unit tests should use this method to overwrite/teardown existing manager singleton. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutService()
Method Detail |
---|
public static ILayoutFactory getFactoryInstance()
public static void setFactoryTestInstance(ILayoutFactory testFactory)
testFactory
- - if this is null, a real LayoutFactory will be used.public static ILayoutManager getManagerInstance()
public static void setManagerTestInstance(ILayoutManager testManager)
testManager
- - if this is null, a real LayoutManager will be used.public static ILayoutChooser getChooserInstance()
public static void setChooserTestInstance(ILayoutChooser testChooser)
testChooser
- - if this is null, a real LayoutChooser will be used.public static boolean isValid(java.lang.Object _oKey)
_oKey
- The service key to validate.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |