Class CaptureFieldProp

    • Constructor Detail

      • CaptureFieldProp

        public CaptureFieldProp()
        Creates the Capture Field property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • CaptureFieldProp

        public CaptureFieldProp​(Atom propertyAtom)
        Creates the Capture Field property container with the specified name. All system-reserved names for components begins with "$".
        Parameters:
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • createEEField

        public EEField createEEField​(boolean is3270,
                                     int width)
        Creates an EEField for this property.
        Parameters:
        is3270 - Flag for 3270 mode.
        width - Width of screen.
        Returns:
        The EE field created.
      • getTypeString

        public java.lang.String getTypeString()
        Gets the type string.
        Returns:
        Type of field as descriptive text.
      • getCapture

        public CaptureScreenProp getCapture()
        Gets the capture property.
        Returns:
        The screen capture.
      • mustWrap

        public boolean mustWrap()
        Check if the rectangle must wrap (for host fields).
        Specified by:
        mustWrap in interface IScreenRectangle
      • getRectangle

        public org.eclipse.swt.graphics.Rectangle getRectangle()
        Gets the Rectangle.
        Specified by:
        getRectangle in interface IScreenRectangle
      • setRectangle

        public void setRectangle​(org.eclipse.swt.graphics.Rectangle r)
        Sets the Rectangle.
        Specified by:
        setRectangle in interface IScreenRectangle
      • getColorType

        public int getColorType()
        Gets the type for colors, see the PluginPreference.TERM_RECTANGLE_TYPES.
        Specified by:
        getColorType in interface IScreenRectangle
      • createToolTip

        public org.eclipse.swt.widgets.Composite createToolTip​(org.eclipse.swt.widgets.Composite parent,
                                                               ITermEditor editor)
        Creates the tooltip composite.
        Specified by:
        createToolTip in interface IScreenRectangle
      • verify

        public boolean verify​(PropVerification verification)
        Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
        Specified by:
        verify in interface IGProp<GProp<?>[]>
        Overrides:
        verify in class PropCnr
        Parameters:
        verification - The property verification class.
        Returns:
        true if verification should proceed, false if disposed of and verification should not take place.