public class InteractionModeFactory
extends java.lang.Object
Constructor and Description |
---|
InteractionModeFactory() |
Modifier and Type | Method and Description |
---|---|
static InteractionMode |
getCreateLinkMode(TNetwork network,
java.lang.Class linkclass)
Get the create link mode.
|
static InteractionMode |
getCreateNodeMode(TNetwork network)
Get the create node mode.
|
static InteractionMode |
getCreateNodeMode(TNetwork network,
java.lang.Class elementType)
Get the create node mode.
|
static InteractionMode |
getCreatePolyMode(TNetwork network)
Get the create polySubNetwork mode.
|
static InteractionMode |
getCreateShapeLinkMode(TNetwork network)
Get the create shape link mode.
|
static InteractionMode |
getDefaultLazySelectionMode(TNetwork network)
Get the default lazy selection network mode.
|
static InteractionMode |
getDefaultMode(TNetwork network)
Get the default network mode.
|
static InteractionMode |
getMagnifierMode(TNetwork network)
Get the magnifier mode.
|
static InteractionMode |
getPanMode(TNetwork network)
Get the pan mode.
|
static InteractionMode |
getZoomToRectMode(TNetwork network)
Get the zoom to rectangle mode.
|
public static InteractionMode getCreateLinkMode(TNetwork network, java.lang.Class linkclass)
network
- the network component.public static InteractionMode getCreatePolyMode(TNetwork network)
network
- the network component.public static InteractionMode getCreateShapeLinkMode(TNetwork network)
network
- the network component.public static InteractionMode getCreateNodeMode(TNetwork network)
network
- the network component.public static InteractionMode getCreateNodeMode(TNetwork network, java.lang.Class elementType)
network
- the network component.the
- element type to be createdpublic static InteractionMode getPanMode(TNetwork network)
network
- the network component.public static InteractionMode getMagnifierMode(TNetwork network)
network
- the network component.public static InteractionMode getZoomToRectMode(TNetwork network)
network
- the network component.public static InteractionMode getDefaultMode(TNetwork network)
network
- the network component.public static InteractionMode getDefaultLazySelectionMode(TNetwork network)
network
- the network component.Copyright © 2002 - 2010 Serva Software. All Rights Reserved.