ilog.rules.studio.vocabulary.bom.editor.term

Class IlrTermEntryField

  • java.lang.Object
    • org.eclipse.swt.widgets.Widget
      • org.eclipse.swt.widgets.Control
        • org.eclipse.swt.widgets.Scrollable
          • org.eclipse.swt.widgets.Composite
            • ilog.rules.studio.vocabulary.bom.editor.term.IlrTermEntryField
  • All Implemented Interfaces:
    org.eclipse.swt.graphics.Drawable


    public class IlrTermEntryField
    extends org.eclipse.swt.widgets.Composite
    This composite is used to edit term properties with default values.
    Since:
    JRules 6.5
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static interface  IlrTermEntryField.Listener
      Listener interface.
    • Field Summary

      • Fields inherited from class org.eclipse.swt.widgets.Composite

        embeddedHandle
      • Fields inherited from class org.eclipse.swt.widgets.Widget

        handle
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrTermEntryField(org.eclipse.swt.widgets.Composite parent, int style, java.lang.String title)
      Creates a new term entry field.
      IlrTermEntryField(org.eclipse.swt.widgets.Composite parent, int style, java.lang.String title, int preferredHeaderSize, int preferredTextFieldSize)
      Creates a new term entry field.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addListener(IlrTermEntryField.Listener listener)
      Adds a listener to the list of listeners of this term entry field.
      java.lang.String getText()
      Returns the text of the term entry field.
      org.eclipse.swt.widgets.Text getTextField() 
      boolean isChecked()
      Returns the state of the check box in the term entry field.
      void removeListener(IlrTermEntryField.Listener listener)
      Removes this listener from the list of listeners of this term entry field.
      • Methods inherited from class org.eclipse.swt.widgets.Composite

        changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
      • Methods inherited from class org.eclipse.swt.widgets.Scrollable

        computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
      • Methods inherited from class org.eclipse.swt.widgets.Control

        addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
      • Methods inherited from class org.eclipse.swt.widgets.Widget

        addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IlrTermEntryField

        public IlrTermEntryField(org.eclipse.swt.widgets.Composite parent,
                         int style,
                         java.lang.String title)
        Creates a new term entry field.
        Parameters:
        parent - A widget which will be the parent of the new instance (cannot be null).
        style - The style of widget to construct.
        title - A label for the entry.
      • IlrTermEntryField

        public IlrTermEntryField(org.eclipse.swt.widgets.Composite parent,
                         int style,
                         java.lang.String title,
                         int preferredHeaderSize,
                         int preferredTextFieldSize)
        Creates a new term entry field.
        Parameters:
        parent - A widget which will be the parent of the new instance (cannot be null).
        style - Style the style of widget to construct.
        title - A label for the entry.
        preferredHeaderSize - The preferred header size.
        preferredTextFieldSize - The preferred text field size.
    • Method Detail

      • getTextField

        public org.eclipse.swt.widgets.Text getTextField()
      • addListener

        public void addListener(IlrTermEntryField.Listener listener)
        Adds a listener to the list of listeners of this term entry field.
        Parameters:
        listener - A new listener.
      • removeListener

        public void removeListener(IlrTermEntryField.Listener listener)
        Removes this listener from the list of listeners of this term entry field.
        Parameters:
        listener - The listener to remove.
      • isChecked

        public boolean isChecked()
        Returns the state of the check box in the term entry field.
        Returns:
        true if the check box of this entry field is checked.
      • getText

        public java.lang.String getText()
        Returns the text of the term entry field.
        Returns:
        The text of this term entry field.

© Copyright IBM Corp. 1987, 2017