LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.component
Class LyJDictionaryPopupSelector

java.lang.Object
  extended by leon.view.win.swing.component.LyJPopupSelector
      extended by leon.view.win.swing.component.LyJDictionaryPopupSelector
All Implemented Interfaces:
java.awt.event.ComponentListener, java.awt.event.FocusListener, java.awt.event.MouseListener, java.util.EventListener, LyActionListener

public class LyJDictionaryPopupSelector
extends LyJPopupSelector

This class implements a popup selection between a combo (choice) and a dictionary.


Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.view.win.swing.component.LyJPopupSelector
ALIGN_BOTTOM, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_TOP
 
Constructor Summary
LyJDictionaryPopupSelector(java.awt.Component choice, java.awt.Component popup, int align, LyEnvironment environment)
          Creates a new popup selector between a combo and a dictionary.
LyJDictionaryPopupSelector(java.awt.Component choice, java.awt.Component popup, LyEnvironment environment)
          Creates a new popup selector between a combo and a dictionary.
 
Method Summary
 void actionPerformed(LyActionEvent actionEvent)
          (non-Javadoc).
 void focusLost(java.awt.event.FocusEvent e)
          Nothing is done if the focus is lost.
 void setBackground(java.awt.Color color)
          Sets the background color.
 
Methods inherited from class leon.view.win.swing.component.LyJPopupSelector
componentHidden, componentMoved, componentResized, componentShown, focusGained, hideParentTipWindow, hideTipWindow, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyJDictionaryPopupSelector

public LyJDictionaryPopupSelector(java.awt.Component choice,
                                  java.awt.Component popup,
                                  LyEnvironment environment)
Creates a new popup selector between a combo and a dictionary. By default, the alignment policy is LyJPopupSelector.Align.RIGHT.

Parameters:
choice - the component which ensures the display
popup - a component to edit the value of the combo. Raised when opening the combo.
environment - the current environment

LyJDictionaryPopupSelector

public LyJDictionaryPopupSelector(java.awt.Component choice,
                                  java.awt.Component popup,
                                  int align,
                                  LyEnvironment environment)
Creates a new popup selector between a combo and a dictionary.

Parameters:
choice - the component which ensures the display
popup - a component to edit the value of the combo. Raised when opening the combo.
align - Specifies the alignment. One of the following:
  • LyJPopupSelector#Align.RIGHT
  • LyJPopupSelector#Align.LEFT
  • LyJPopupSelector#Align.TOP
  • LyJPopupSelector#Align.BOTTOM
environment - the current environment
Method Detail

actionPerformed

public void actionPerformed(LyActionEvent actionEvent)
(non-Javadoc).

Specified by:
actionPerformed in interface LyActionListener
Overrides:
actionPerformed in class LyJPopupSelector
See Also:
LyActionListener.actionPerformed(leon.view.event.LyActionEvent)

setBackground

public void setBackground(java.awt.Color color)
Sets the background color.

Parameters:
color - the new background color

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Nothing is done if the focus is lost.

Specified by:
focusLost in interface java.awt.event.FocusListener
Overrides:
focusLost in class LyJPopupSelector
See Also:
LyJPopupSelector.focusLost(FocusEvent)

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com