|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopoint.ui.layout.LayoutManagerPeerFactory
public final class LayoutManagerPeerFactory
Creates LayoutManagerPeer objects for LayoutManagers.
This class now has an automatic layout manager peer discover mechanism. To add new layout manager to peer associations, simply put a properties file in a folder called
| Field Summary | |
|---|---|
static java.lang.String |
PEER_DISCOVERY_NAME
|
| Method Summary | |
|---|---|
static void |
addAssociation(java.lang.String layoutManagerName,
java.lang.String layoutManagerPeerName)
Adds additional LayoutManager-to-LayoutManagerPeer
associations for a specific layout manager and layout manager peer. |
static void |
addAssociations(java.lang.String propertiesFile)
Adds additional LayoutManager-to-LayoutManagerPeer
associations. |
static LayoutManagerPeer |
createLayoutManagerPeer(LayoutManager l)
Returns a new peer for the specified LayoutManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PEER_DISCOVERY_NAME
| Method Detail |
|---|
public static void addAssociations(java.lang.String propertiesFile)
LayoutManager-to-LayoutManagerPeer
associations.
propertiesFile - The name of a properties file containing
additional associations.
public static void addAssociation(java.lang.String layoutManagerName,
java.lang.String layoutManagerPeerName)
LayoutManager-to-LayoutManagerPeer
associations for a specific layout manager and layout manager peer.
layoutManagerName - the name of the layout manager classlayoutManagerPeerName - the name of the layout peer classpublic static LayoutManagerPeer createLayoutManagerPeer(LayoutManager l)
l - The LayoutManager for which a peer is to be created.
LayoutManagerPeer bound to the specified
LayoutManager.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||