QScript  2.1.2
Expression and algorithm evaluator
 All Classes Namespaces Functions Variables Pages
Classes | Static Public Member Functions | List of all members
org.qscript.eventsonfire.SwingEvents Class Reference

Inherits org.qscript.eventsonfire.AWTEvents.

Classes

class  EventsChangeListener
 
class  EventsListSelectionListener
 
class  EventsTreeSelectionListener
 

Static Public Member Functions

static< TYPEextendsJComponent >
TYPE 
fireOnWindowsKeyStroke (final TYPE producer, String keyStroke, final String...tags)
 
static< TYPEextendsJComponent >
TYPE 
fireOnWindowsKeyStroke (final TYPE producer, KeyStroke keyStroke, final String...tags)
 
static< TYPEextendsJComponent >
TYPE 
fireOnAncestorsKeyStroke (final TYPE producer, String keyStroke, final String...tags)
 
static< TYPEextendsJComponent >
TYPE 
fireOnAncestorsKeyStroke (final TYPE producer, KeyStroke keyStroke, final String...tags)
 
static< TYPEextendsJComponent >
TYPE 
fireOnKeyStroke (final TYPE producer, String keyStroke, final String...tags)
 
static< TYPEextendsJComponent >
TYPE 
fireOnKeyStroke (final TYPE producer, KeyStroke keyStroke, final String...tags)
 
static ChangeListener fireOnChange ()
 
static ChangeListener fireOnChange (Object producer, String...tags)
 
static ListSelectionListener fireOnListSelection ()
 
static ListSelectionListener fireOnListSelection (Object producer, String...tags)
 
static TreeSelectionListener fireOnTreeSelection ()
 
static TreeSelectionListener fireOnTreeSelection (Object producer, String...tags)
 
- Static Public Member Functions inherited from org.qscript.eventsonfire.AWTEvents
static ActionListener fireOnAction ()
 
static ActionListener fireOnAction (Object producer, String...tags)
 
static ItemListener fireOnItemChanged ()
 
static ItemListener fireOnItemChanged (Object producer, String...tags)
 
static FocusListener fireOnFocusGained ()
 
static FocusListener fireOnFocusGained (Object producer, String...tags)
 
static FocusListener fireOnFocusLost ()
 
static FocusListener fireOnFocusLost (Object producer, String...tags)
 

Member Function Documentation

static <TYPEextendsJComponent> TYPE org.qscript.eventsonfire.SwingEvents.fireOnAncestorsKeyStroke ( final TYPE  producer,
String  keyStroke,
final String...  tags 
)
static

Registers a keystroke and an action to the component. Fires an action event, if an ancestor of the specified component receives the keystroke.

Parameters
producerthe component
keyStrokethe keystroke
tagssome tags
Returns
the component
static <TYPEextendsJComponent> TYPE org.qscript.eventsonfire.SwingEvents.fireOnAncestorsKeyStroke ( final TYPE  producer,
KeyStroke  keyStroke,
final String...  tags 
)
static

Registers a keystroke and an action to the component. Fires an action event, if an ancestor of the specified component receives the keystroke.

Parameters
producerthe component
keyStrokethe keystroke
tagssome tags
Returns
the component
static ChangeListener org.qscript.eventsonfire.SwingEvents.fireOnChange ( )
static

Returns a change listener, that fires an event using the source of the event as producer.

Returns
the change listener
static ChangeListener org.qscript.eventsonfire.SwingEvents.fireOnChange ( Object  producer,
String...  tags 
)
static

Creates a change listener, that fires an event using the specified producer and the specified tags. If the producer is null, the source of the event will be used as producer.

Parameters
producerthe producer
tagsthe tags
Returns
the change listener
static <TYPEextendsJComponent> TYPE org.qscript.eventsonfire.SwingEvents.fireOnKeyStroke ( final TYPE  producer,
String  keyStroke,
final String...  tags 
)
static

Registers a keystroke and an action to the component. Fires an action event, if the component is focused and receives the keystroke.

Parameters
producerthe component
keyStrokethe keystroke
tagssome tags
Returns
the component
static <TYPEextendsJComponent> TYPE org.qscript.eventsonfire.SwingEvents.fireOnKeyStroke ( final TYPE  producer,
KeyStroke  keyStroke,
final String...  tags 
)
static

Registers a keystroke and an action to the component. Fires an action event, if the component is focused and receives the keystroke.

Parameters
producerthe component
keyStrokethe keystroke
tagssome tags
Returns
the component
static ListSelectionListener org.qscript.eventsonfire.SwingEvents.fireOnListSelection ( )
static

Returns a list selection listener, that fires an event using the source of the event as producer.

Returns
the list selection listener
static ListSelectionListener org.qscript.eventsonfire.SwingEvents.fireOnListSelection ( Object  producer,
String...  tags 
)
static

Creates a list selection listener, that fires an event using the specified producer and the specified tags. If the producer is null, the source of the event will be used as producer.

Parameters
producerthe producer
tagsthe tags
Returns
the list selection listener
static TreeSelectionListener org.qscript.eventsonfire.SwingEvents.fireOnTreeSelection ( )
static

Returns a tree selection listener, that fires an event using the source of the event as producer.

Returns
the tree selection listener
static TreeSelectionListener org.qscript.eventsonfire.SwingEvents.fireOnTreeSelection ( Object  producer,
String...  tags 
)
static

Creates a tree selection listener, that fires an event using the specified producer and the specified tags. If the producer is null, the source of the event will be used as producer.

Parameters
producerthe producer
tagsthe tags
Returns
the tree selection listener
static <TYPEextendsJComponent> TYPE org.qscript.eventsonfire.SwingEvents.fireOnWindowsKeyStroke ( final TYPE  producer,
String  keyStroke,
final String...  tags 
)
static

Registers a keystroke and an action to the component. Fires an action event, if the component that receives the keystroke is member of a focused window.

Parameters
producerthe component
keyStrokethe keystroke
tagssome tags
Returns
the component
static <TYPEextendsJComponent> TYPE org.qscript.eventsonfire.SwingEvents.fireOnWindowsKeyStroke ( final TYPE  producer,
KeyStroke  keyStroke,
final String...  tags 
)
static

Registers a keystroke and an action to the component. Fires an action event, if the component that receives the keystroke is member of a focused window.

Parameters
producerthe component
keyStrokethe keystroke
tagssome tags
Returns
the component

The documentation for this class was generated from the following file: