Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.UIToolTip

Extends
UILabel
Modifiers
native ( inherit ) notplaceable HideDropDown

This specialized label is used for rendering tooltips in the UI. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIScreenObject
      |   
      +-- Engine.UIObject
         |   
         +-- Engine.UILabel
            |   
            +-- Engine.UIToolTip

Constants Summary
Inherited Contants from Engine.UIObject
CONTEXTMENU_BINDING_INDEX, FIRST_DEFAULT_DATABINDING_INDEX, TOOLTIP_BINDING_INDEX

Variables Summary
boolbPendingPositionUpdate
boolbResolveToolTipPosition
floatSecondsActive
UIToolTip
boolbAutoHideOnInput
boolbFollowCursor
Inherited Variables from Engine.UILabel
DataSource, LabelBackground, StringRenderComponent
Inherited Variables from Engine.UIObject
AnimationParent, AnimationPosition, AnimStack, bDebugShowBounds, bEnableActiveCursorUpdates, bSupportsPrimaryStyle, ContextMenuData, DebugBoundsColor, DockTargets, NavigationTargets, Owner, OwnerScene, PrimaryStyle, PrivateFlags, RenderBoundsVertices[EUIWidgetFace.UIFACE_MAX], RenderBounds[EUIWidgetFace.UIFACE_MAX], RenderOffset, Rotation, StyleSubscribers, TabIndex, ToolTip, WidgetID, WidgetTag

Delegates Summary
delegateUIToolTip ActivateToolTip (UIToolTip Sender ))
delegatebool CanShowToolTip (UIToolTip Sender)
delegatebool DeactivateToolTip ()))
Inherited Delegates from Engine.UIObject
OnClicked, OnCloseContextMenu, OnContextMenuItemSelected, OnCreate, OnDoubleClick, OnOpenContextMenu, OnPressed, OnPressRelease, OnPressRepeat, OnQueryToolTip, OnRefreshSubscriberValue, OnUIAnimEnd, OnValueChanged

Functions Summary
functionUIToolTip BeginTracking ()
functionbool EndTracking ()
function UpdateToolTipPosition ()
Inherited Functions from Engine.UILabel
ClearBoundDataStores, GetBoundDataStores, GetDataStoreBinding, GetValue, IgnoreMarkup, NotifyDataStoreValueUpdated, OnGetTextValue, OnSetLabelText, RefreshSubscriberValue, SetArrayValue, SetDataStoreBinding, SetTextAlignment, SetValue
Inherited Functions from Engine.UIObject
AddStyleSubscriber, AnimSetBottom, AnimSetColor, AnimSetLeft, AnimSetOpacity, AnimSetPosition, AnimSetRelPosition, AnimSetRight, AnimSetRotation, AnimSetScale, AnimSetTop, AnimSetVisibility, CanAcceptFocus, ClearDefaultDataBinding, ClearUIAnimation, FindStyleSubscriberIndex, FindStyleSubscriberIndexById, GenerateSceneDataStoreMarkup, GenerateTransformMatrix, GetAnchorPosition, GetDefaultDataBinding, GetDefaultDataStores, GetOwner, GetParent, GetPositionExtent, GetPositionExtents, GetRotationMatrix, GetScene, GetToolTipValue, HasTransform, IsContainedBy, IsDockedTo, IsPrivateBehaviorSet, LogRenderBounds, NeedsActiveCursorUpdates, NotifyValueChanged, OnSetDatastoreBinding, PlayUIAnimation, RemoveStyleSubscriber, ResolveDefaultDataBinding, ResolveStyles, RotateWidget, SetActiveCursorUpdate, SetAnchorPosition, SetDefaultDataBinding, SetDockPadding, SetDockParameters, SetDockTarget, SetForcedNavigationTarget, SetNavigationTarget, SetPrivateBehavior, SetWidgetStyleByName, StopUIAnimation, TickAnim, UIAnimEnd, UpdateRotationMatrix


Variables Detail

bPendingPositionUpdate Source code

var const transient bool bPendingPositionUpdate;
Used to indicate that the position of this tool tip widget should be updated during the next tick

bResolveToolTipPosition Source code

var const transient bool bResolveToolTipPosition;
used to indicate that this tooltip's position has been updated and needs to be resolved into actual screen values

SecondsActive Source code

var const transient float SecondsActive;
The amount of time this tooltip has been active, in seconds. Updated from TickToolTip().

UIToolTip

bAutoHideOnInput Source code

var(UIToolTip) bool bAutoHideOnInput;
Determines whether this tooltip will automatically deactivate if input is received by the UI system.

bFollowCursor Source code

var(UIToolTip) bool bFollowCursor;
Indicates whether the tooltip will remain in the location where it was initially shown, or follow the cursor.


Delegates Detail

ActivateToolTip Source code

delegate UIToolTip ActivateToolTip ( UIToolTip Sender ) )
Wrapper for BeginTracking which allows owning widgets to easily override the default behavior for tooltip activation

CanShowToolTip Source code

delegate bool CanShowToolTip ( UIToolTip Sender )
Allows widgets to prevent a tooltip from being displayed; called every tick once the number of seconds since the tooltip was linked to a widget (i.e. when ActivateToolTip was called) is greater than UIInteraction.ToolTipInitialDelaySeconds.
@param Sender the tooltip that will be shown
@return returning FALSE resets the tooltip's activation timer to 0; returning TRUE causes the tooltip to be made visible immediately.

DeactivateToolTip Source code

delegate bool DeactivateToolTip ( ) )
Wrapper for EndTracking which allows owning widgets to easily override the default behavior for tooltip de-activation


Functions Detail

BeginTracking Source code

native final function UIToolTip BeginTracking ( )
Initializes the timer used to determine when this tooltip should be shown. Called when the a widet that supports a tooltip becomes the scene client's ActiveControl.
@return returns the tooltip that began tracking, or None if no tooltips were activated.

EndTracking Source code

native final function bool EndTracking ( )
Hides the tooltip and resets all internal tracking variables. Called when a widget that supports tooltips is no longer the scene client's ActiveControl.
@return FALSE if the tooltip wishes to abort the deactivation and continue displaying the tooltip. The return value may be ignored if the UIInteraction needs to force the tooltip to disappear, for example if the scene is being closed or a context menu is being activated.

UpdateToolTipPosition Source code

native final function UpdateToolTipPosition ( )
Repositions this tool-tip to appear below the mouse cursor (or above if too near the bottom of the screen), without triggering a full scene update.


Defaultproperties

defaultproperties
{
   bAutoHideOnInput=True
   Begin Object Class=UIComp_DrawString Name=LabelStringRenderer ObjName=LabelStringRenderer Archetype=UIComp_DrawString'Engine.Default__UILabel:LabelStringRenderer'
      StyleResolverTag="ToolTip String Style"
      AutoSizeParameters(0)=(Extent=(Value[1]=0.300000,EvalType[1]=UIEXTENTEVAL_PercentScene),bAutoSizeEnabled=True)
      AutoSizeParameters(1)=(bAutoSizeEnabled=True)
      TextStyleCustomization=(ClipMode=CLIP_Normal,bOverrideClipMode=True)
      StringStyle=(DefaultStyleTag="DefaultToolTipStringStyle")
      ObjectArchetype=UIComp_DrawString'Engine.Default__UILabel:LabelStringRenderer'
   End Object
   StringRenderComponent=LabelStringRenderer
   Begin Object Class=UIComp_DrawImage Name=TooltipBackgroundRenderer ObjName=TooltipBackgroundRenderer Archetype=UIComp_DrawImage'Engine.Default__UIComp_DrawImage'
      StyleResolverTag="ToolTip Background Style"
      ImageStyle=(DefaultStyleTag="DefaultToolTipBackgroundStyle")
      Name="TooltipBackgroundRenderer"
      ObjectArchetype=UIComp_DrawImage'Engine.Default__UIComp_DrawImage'
   End Object
   LabelBackground=TooltipBackgroundRenderer
   PrivateFlags=986
   EventProvider=None
   Name="Default__UIToolTip"
   ObjectArchetype=UILabel'Engine.Default__UILabel'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:48.229 - Created with UnCodeX