Library | Package Java Toolkit

Interface ActionSource

package com.ptc.pfc.pfcBase;

public interface ActionSource
  extends jxobject



Description

This class specifies an action source.

Relevant Action Sources: BaseSession Model Solid Feature Parameter
Direct Known Subclasses:
ParameterOwner, ModelItem, Model, DisplayList2D, DisplayList3D, UICommand, BaseSession, AsyncConnection



Method Summary
voidAddActionListener (ActionListener Listener)
    Adds an action listener to notify you of certain events.
voidAddActionListenerWithType (ActionListener Listener, ActionTypes ATypes)
    Adds an action listener to notify chosen events.
voidRemoveActionListener (ActionListener Listener)
    Deletes the specified action listener so you are no longer notified of those events.

Method Detail

AddActionListener

voidAddActionListener (ActionListener Listener)


    Adds an action listener to notify you of certain events.

The type of event depends upon the type of Action Listener you provide.
Manual References:
Action Listeners: Action Sources, Action Listeners: Action Sources, Menus, Commands, and Pop-up Menus: Access Listeners for Commands, Menus, Commands, and Pop-up Menus: Access Listeners for Commands, Menus, Commands, and Pop-up Menus: Bracket Listeners for Commands, Menus, Commands, and Pop-up Menus: Bracket Listeners for Commands, Menus, Commands, and Pop-up Menus: Listening for Pop-up Menu Initialization, Menus, Commands, and Pop-up Menus: Listening for Pop-up Menu Initialization
Parameters:
Listener
The new listener
Returns:


RemoveActionListener

voidRemoveActionListener (ActionListener Listener)


    Deletes the specified action listener so you are no longer notified of those events.
Manual References:
Action Listeners: Action Sources
Parameters:
Listener
The action listener to delete
Returns:


AddActionListenerWithType

voidAddActionListenerWithType (ActionListener Listener, ActionTypes ATypes)


    Adds an action listener to notify chosen events.
Manual References:
Action Listeners: Action Sources, Action Listeners: Action Sources, Overview of Creo Object TOOLKIT Java: Action Listeners, Menus, Commands, and Pop-up Menus: Listening for Pop-up Menu Initialization, Menus, Commands, and Pop-up Menus: Listening for Pop-up Menu Initialization
Parameters:
Listener
The new listener
ATypes
The chosen events for which notification is needed.
Returns: