ilog.rules.webui

Class IlrWFullDateEditor

  • All Implemented Interfaces:
    ilog.rules.brl.value.editor.IlrValueEditor, ilog.rules.brl.value.editor.IlrValueEditorComponent
    Direct Known Subclasses:
    IlrWShortDateEditor


    public class IlrWFullDateEditor
    extends IlrWValueEditorComponent
    Date value editor component.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrWFullDateEditor(ilog.rules.brl.value.descriptor.IlrValueDescriptor valueDescriptor) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected java.lang.String getDateFormat() 
      java.lang.Object getEditorComponent(ilog.rules.brl.IlrBRLRuleEditingContext context)
      Returns a component (must be an instance of java.awt.Component or an implementation of the following interfaces ilog.rules.brl.value.editor.IlrSWTValueEditorComposite or ilog.rules.brl.value.editor.IlrSWTValueEditorDialog).
      java.lang.Object getValue()
      Returns the value edited in this editor.
      void setValue(java.lang.Object value)
      Sets the value to edit.
      • Methods inherited from class java.lang.Object

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

      • IlrWFullDateEditor

        public IlrWFullDateEditor(ilog.rules.brl.value.descriptor.IlrValueDescriptor valueDescriptor)
    • Method Detail

      • getDateFormat

        protected java.lang.String getDateFormat()
      • getEditorComponent

        public java.lang.Object getEditorComponent(ilog.rules.brl.IlrBRLRuleEditingContext context)
        Description copied from interface: ilog.rules.brl.value.editor.IlrValueEditorComponent
        Returns a component (must be an instance of java.awt.Component or an implementation of the following interfaces ilog.rules.brl.value.editor.IlrSWTValueEditorComposite or ilog.rules.brl.value.editor.IlrSWTValueEditorDialog). This component will be popped up when a value needs to be edited.
        Parameters:
        context - The context of the editing rule.
        Returns:
        The component.
      • getValue

        public java.lang.Object getValue()
        Description copied from interface: ilog.rules.brl.value.editor.IlrValueEditor
        Returns the value edited in this editor.
        Returns:
        The edited value.
      • setValue

        public void setValue(java.lang.Object value)
        Description copied from interface: ilog.rules.brl.value.editor.IlrValueEditor
        Sets the value to edit.
        Parameters:
        value - The value.

© Copyright IBM Corp. 1987, 2017