Interface VisionClientInterface
-
- All Known Subinterfaces:
VisionDesignerInterface
- All Known Implementing Classes:
ClientContextImpl,VisionDesignerImpl
public interface VisionClientInterfaceThe public API interface for the Vision client. You can safely cast the Vision module to an instance of VisionClientInterface in either the client or designer context.Example:
ClientContext context = ... VisionClientInterface vision = (VisionClientInterface)context.getModule(VisionClientInterface.VISION_MODULE_ID);
- See Also:
ClientContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVISION_MODULE_ID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExtensibleBindingType(BindingType binding)Adds a new binding type to be used in the extensible binding systemvoidaddWindowListener(VisionWindowListener listener)Adds a listener to be notified when windows are opened and closed.BindingTypegetBindingType(java.lang.String bindingTypeKey)WindowUtilitiesgetGuiUtil()WindowUtilitiesgetGuiUtil(java.lang.String desktopHandle)Gets the WindowUtilities for a secondary desktop, by handleNavUtilitiesgetNavUtil()Gets the NavUtilities (for the primary desktopNavUtilitiesgetNavUtil(java.lang.String desktopHandle)Gets the NavUtilities for a secondary desktop, by handlevoidremoveWindowListener(VisionWindowListener listener)Removes window listener
-
-
-
Field Detail
-
VISION_MODULE_ID
static final java.lang.String VISION_MODULE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
addExtensibleBindingType
void addExtensibleBindingType(BindingType binding)
Adds a new binding type to be used in the extensible binding system
-
getBindingType
BindingType getBindingType(java.lang.String bindingTypeKey)
-
getNavUtil
NavUtilities getNavUtil()
Gets the NavUtilities (for the primary desktop
-
getNavUtil
NavUtilities getNavUtil(java.lang.String desktopHandle)
Gets the NavUtilities for a secondary desktop, by handle
-
getGuiUtil
WindowUtilities getGuiUtil()
-
getGuiUtil
WindowUtilities getGuiUtil(java.lang.String desktopHandle)
Gets the WindowUtilities for a secondary desktop, by handle
-
addWindowListener
void addWindowListener(VisionWindowListener listener)
Adds a listener to be notified when windows are opened and closed. Only works during runtime, not designer
-
removeWindowListener
void removeWindowListener(VisionWindowListener listener)
Removes window listener
-
-