Namespace: OpenEdge.Core
Type: Class WidgetHandle
Parent Classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object
Implements: Ccs.Common.Support.IHandleHolder, Progress.Collections.IHashable


Copyright (c) 2013, 2016-2017, 2023 by Progress Software Corporation. All rights reserved.
File:WidgetHandle
Purpose:Primitive class for widget-handle variables
Author(s):pjudge
Created:Tue Apr 19 09:47:07 EDT 2011
Notes:* This class based on the AutoEdge|TheFactory version
the AutoDestroy property to TRUE to cleanup automatically.



Method Summary
  Options Name Purpose
  INTEGER CompareTo (IHandleHolder) /* Comparison method, used by SortedSet's default comparer - If the returned value is less than 0 (zero), then the current object sorts before the object passed in. - If the returned value equals 0 (zero) , then the current object occupies the same position in the sort order. - If the returned value is greater than 0(zero), then the current object sorts after the object passed in. - If either object's Value is the unknown value (?), then that sorts high/early/before @param IHandleHolder The object to compare to. @return integer 0 = same object +1 = sorts after -1 = sorts before */
  LOGICAL Equals (Object)
  INTEGER HashCode () /* Hashing method for creating a proper index for use with Progress.Collections.HashMap @return integer Result of the hash-code method using this object's comparable value(s) */
  CHARACTER ToString ()

Constructor Summary
  Options Name Purpose
  WidgetHandle ()
  WidgetHandle (handle)
  WidgetHandle (handle, logical)

Property Summary
  Options Name Purpose
  LOGICAL AutoDestroy
  HANDLE Value


Method Detail
Top

INTEGER CompareTo (IHandleHolder)

/* Comparison method, used by SortedSet's default comparer
- If the returned value is less than 0 (zero), then the current object sorts before the object passed in.
- If the returned value equals 0 (zero) , then the current object occupies the same position in the sort order.
- If the returned value is greater than 0(zero), then the current object sorts after the object passed in.
- If either object's Value is the unknown value (?), then that sorts high/early/before
+1 = sorts after
-1 = sorts before
Parameters:
pOther Ccs.Common.Support.IHandleHolder
 
Returns INTEGER
  integer 0 = same object
Top

LOGICAL Equals (Object)

Parameters:
p0 Progress.Lang.Object
 
Returns LOGICAL
 
Top

INTEGER HashCode ()

/* Hashing method for creating a proper index for use with Progress.Collections.HashMap
Returns INTEGER
  integer Result of the hash-code method using this object's comparable value(s)
Top

CHARACTER ToString ()

Returns CHARACTER
 


Constructor Detail
Top

WidgetHandle ()

Top

WidgetHandle (handle)

Parameters:
phValue HANDLE
 
Top

WidgetHandle (handle, logical)

Parameters:
phValue HANDLE
 
plAutoDestroy LOGICAL
 


Property Detail
Top

LOGICAL AutoDestroy

Returns LOGICAL
 
Top

HANDLE Value

Returns HANDLE