TIWCGJQTooltipOptions Class
Tooltip Options class
The TIWCGJQTooltipOptions type exposes the following members.
Name | Description | |
---|---|---|
Create(TCollection) | ||
CreateSingle(TPersistent,string) | Initializes a new instance of the TIWCGJQTooltipOptions class. (Overrides TIWCGJSon.CreateSingle(TPersistent,string).) |
Name | Description | |
---|---|---|
Align | It sets the Bubble Popup alignment along the side of the target element;possible values are’left’, ‘center’ or ‘right’ when position is ‘top’ or ‘bottom’otherwise ‘top’, ‘middle’ or ‘bottom’ when position is ‘left’ or ‘right’ | |
AlwaysVisible | If it’s true, the Bubble Popup maintains the position and alignment if it’s possible, also when the browser window is resized; otherwise the plugin changes (or restore back) the Bubble Popup’s position to make it always visible in the browser’s viewport, this works as well when browser window is resized. | |
BaseClass | It sets the base class name saved in the CSS file “jquery-bubble-popup.css”;generally You don’t need to edit this option, it is only useful if other CSS classes declared inside the document interfere with the main class of the Bubble Popup;in this case, You will need only to choose a new valid name for the base class and set this option with it, then You need to replace all occurrences of the base class name “jquerybubblepopup” inside the “jquery-bubble-popup.css” file with the new name. See the Template System for more information. | |
CGJSContainer | Represents property | |
ClassData | Represents property | |
ClosingDelay | it sets a delay in milliseconds when the Bubble Popup is closing. | |
ClosingSpeed | It sets the closing speed. | |
Distance | It sets the distance of the point from which the Bubble Popup comes | |
DivStyle | It is an object that contains CSS properties as {color: ‘#000000', margin:’0px’}the CSS properties inside this object will be added to the main <DIV> tag in the markup template;by default it is an empty object. | |
DropShadow | Drop the shadow (true) or not (false) for the Bubble Popup. | |
Height | It sets the height of the Bubble Popup, an integer “10? or a string as “10px” is accepted;this option sets a CSS height property for the main <TABLE> in the markup template. | |
HideElementId | Insert in the array all IDs of the elements that You want to hide; it is useful if any element interfere with a Bubble Popup. By default, it is an empty array. | |
InnerHtml | The inner text inside the Bubble Popup, it can contains HTML tags. | |
InnerHtmlStyle | It is an object that contains CSS properties as {color: ‘#000000', margin:’0px’}the CSS properties inside this object will be added to the <TD> tag container with “{BASE CLASS}-innerHtml” as class attribute in the markup template; by default it is an empty object. | |
InstList | Represents property | |
IsStored | Represents property | |
JSon | Return the Interface of SuperObject (ISuperObject) (Inherited from TIWCGJSon.) | |
JSonEvents[string] | Represents property | |
List | Represents property | |
ManageMouseEvents | By default, mouseout and mouseover events are automatically managed, however you can disable it and set this option to false; in this case, you’ll need to declare mouseover and mouseout events manually in your code for each target DOM element with a Bubble Popup. Disabling manageMouseEvents is useful when you need to develop customized functions to show or hide the Bubble Popup or to get the full control over that, however you will lose all the checkings that the plugin is running to position and align the popup, so be careful when you turn off this feature.If you need to add customized mouseover or mouseout events to the target element, you don’t need to disable managed events, because they do not affect managed events, then just add them with jQuery syntax as $(‘#element’).mouseover(function(){ … }); Note:when manageMouseEvents is false, the following functions don’t take effect: .FreezeBubblePopup() .FreezeAllBubblePopups() .UnfreezeBubblePopup() .UnfreezeAllBubblePopups() also the following options don’t take effect: mouseOver mouseOut | |
MemberList | Represents property | |
MouseOut | It adds a managed mouseout event to the target DOM elementassociated with the Bubble Popup;possible values are ‘show’ or ‘hide”show’ : when mouse is out the target element, show the Bubble Popup associated with it’hide’ : when mouse is out the target element, hide the Bubble Popup associated with it | |
MouseOver | It adds a managed mouseover event to the target DOM elementassociated with the Bubble Popup;possible values are ‘show’ or ‘hide”show’ : when mouse is over the target element, show the Bubble Popup associated with it’hide’ : when mouse is over the target element, hide the Bubble Popup associated with it | |
OnAfterHidden | It sets a callback function to execute when Bubble Popup is closed | |
OnAfterShown | It sets a callback function to execute when Bubble Popup is opened; You can set it as$(‘.button’).CreateBubblePopup({innerHtml: ‘This is a Bubble Popup!’,afterShown: function(){alert(‘Bubble Popup is open!’);}}); | |
OpeningDelay | It sets a delay in milliseconds when the Bubble Popup is opening. | |
OpeningSpeed | It sets the opening speed. | |
Owner | Represents property | |
Position | It sets the Bubble Popup on the left, top, right or bottom side of the target element;possible values are’left’, ‘top’, ‘right’ or ‘bottom’. | |
PropCount | Represents property | |
PropIndexByName[string] | Represents property | |
PropList | Represents property | |
PropName | Represents property | |
PropNameByIndex[Integer] | Represents property | |
Selectable | When the mouse is over the target element, a bubble popup appears; then, if “selectable” is true you will be able to select the content inside it; if the mouse goes out of the button OR the bubble, the popup will be closed.By default, this option is false, then you will not be able to select the content because when the mouse is immediately out of the button, the popup will be closed. | |
SObj | Represents property | |
TableStyle | It is an object that contains CSS properties as {color: ‘#000000', margin:’0px’}the CSS properties inside this object will be added to the main <TABLE> tag in the markup template;by default it is an empty object. | |
Tail | “tail” is an object that contains the following properties for the Bubble Popup’s tail “align” (String) option sets the alignment for the tail and possible values are’left’, ‘center’ or ‘right’ when Bubble Popup’s position is ‘top’ or ‘bottom’ otherwise ‘top’, ‘middle’ or ‘bottom’ when position is ‘left’ or ‘right’; “hidden” (Boolean) option can be true or false and toggle on or off the tail’s image. | |
ThemeMargins | It is an object that contains the following properties “total” is the total margin from the target element “difference” is the margin difference edit “themeMargins” attributes only if you need to edit or create a new theme; See the Template System for more information. | |
ThemeName | It sets the theme for the Bubble Popup; all the themes are saved inside the folder “jquerybubblepopup-theme/” ; possible values are:azure, black, blue, green, grey, orange, violet, yellow, all-azure, all-black, all-blue, all-green, all-grey, all-orange, all-violet, all-yellow | |
ThemePath | it sets the relative path of the folder that contains all the themes | |
Tooltip | Represents property | |
Width | It sets the width of the Bubble Popup, an integer “10? or a string as “10px” is accepted;this option sets a CSS width property for the main <TABLE> in the markup template. |
Name | Description | |||
---|---|---|---|---|
AddBooleanMember(string,Boolean,Boolean,Boolean) | Represents method | |||
AddColorMember(string,TIWCGColor,Boolean,Boolean) | Represents method | |||
AddCurrencyMember(string,Currency,Boolean,Boolean) | Represents method | |||
AddDoubleMember(string,Double,Boolean,Boolean) | Represents method | |||
AddDynObjListMember(string,Boolean,Boolean) | Represents method | |||
AddEnumMember(string,string[],Byte,Boolean,Boolean) | Represents method | |||
AddEnumSetMember(string,string[],Void,Word,Boolean,Boolean) | Represents method | |||
AddFuncMember(string,string,string,Boolean,TIWCGJSonFuncClass,Boolean,Boolean) | Represents method | |||
AddHTML5(TIWHTMLTag) | Represents method | |||
AddIntegerMember(string,Integer,Boolean,Boolean) | Represents method | |||
AddJSonMember(string,TCGJSon,Boolean,Boolean) | Represents method | |||
AddMembers | The procedure add jquery properties.
| |||
AddObjListMember(string,TIWCGJSonListClass,Boolean,Boolean,Boolean) | Represents method | |||
AddObjMember(string,TIWCGJSonClass,Boolean,Boolean,Boolean) | Represents method | |||
AddSimpleArrayMember(string,Boolean,Boolean,Boolean) | Represents method | |||
AddStringMember(string,string,Boolean,Boolean) | Represents method | |||
AddVariantMember(string,Variant,Boolean,Boolean) | Represents method | |||
AfterConstruction | Represents method | |||
Assign(TPersistent) | Represents method | |||
CheckJSonMember(Integer) | Represents method | |||
ConvertEnumToString(string) | Represents method | |||
ConvertSetToString(string,TCGStringArray) | Represents method | |||
CreateBubblePopupByID(string,TIWCGJQTooltipOptions) | Represents method | |||
CreateBubblePopupBySelector(string,TIWCGJQTooltipOptions) | Represents method | |||
DestroyBubblePopupByID(string) | Represents method | |||
FreeJSonObj(Integer) | Overloaded. Represents method | |||
FreeJSonObj(string) | Overloaded. Represents method | |||
GetBooleanValue(Integer) | Represents method | |||
GetCGJSContainer | Represents method | |||
GetColorValue(Integer) | Represents method | |||
GetCurrencyValue(Integer) | Represents method | |||
GetCustomJq(string,ISuperObject) | Represents method | |||
GetDoubleValue(Integer) | Represents method | |||
GetDynObjListValue(Integer) | Represents method | |||
GetEnumAsString(Integer) | Represents method | |||
GetEnumerValue(Integer) | Represents method | |||
GetEnumSetValue(Integer,Pointer) | Represents method | |||
GetFixedScript(TIWCGJSonFunc,Boolean) | Represents method | |||
GetFuncValue(Integer) | Represents method | |||
GetHTMLName | Represents method | |||
GetImplComponent | Represents method | |||
GetIntegerValue(Integer) | Represents method | |||
GetIsStored | Represents method | |||
GetItemIndex | Represents method | |||
GetIWCLName | Represents method | |||
GetJSon | Represents method | |||
GetJSonByType(Boolean,Boolean) | Represents method | |||
GetJSonEx(Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | |||
GetJSonValue(Integer) | Represents method | |||
GetJSonValueObj(Integer) | Represents method | |||
GetMemberJSon(TCGJSonMember,ISuperObject,Boolean,Boolean,string) | Represents method | |||
GetMemberSetterHandler(TObject,TCGJSonMember) | Represents method | |||
GetMemberSetterScriptParts(TIWCGResponseMemberList,TIWCGJScript) | Represents method | |||
GetMembersJSon(TIWCGResponseMemberList,Boolean,Boolean) | Represents method | |||
GetObjListValue(Integer) | Represents method | |||
GetObjValue(Integer) | Represents method | |||
GetOwner | Represents method | |||
GetPropName | Represents method | |||
GetSimpleArrayValue(Integer) | Represents method | |||
GetStringValue(Integer) | Represents method | |||
GetVariantValue(Integer) | Represents method | |||
HideBubblePopupByID(string) | Represents method | |||
HideBubblePopupBySelector(string) | Represents method | |||
InternalGetJSon(TEachPropJSonProc,Boolean,Boolean,Void,Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | |||
IsArray | Represents method | |||
IsBooleanStored(Integer) | Represents method | |||
IsColorStored(Integer) | Represents method | |||
IsCurrencyStored(Integer) | Represents method | |||
IsDoubleStored(Integer) | Represents method | |||
IsEnumerStored(Integer) | Represents method | |||
IsEnumSetStored(Integer) | Represents method | |||
IsFuncStored(Integer) | Represents method | |||
IsIntegerStored(Integer) | Represents method | |||
IsJSonObjStored(string) | Represents method | |||
IsJSonStored(Integer) | Represents method | |||
IsObjStored(Integer) | Represents method | |||
IsStringStored(Integer) | Represents method | |||
IsVariantStored(Integer) | Represents method | |||
jqShowBubblePopupByID(string,TIWCGJQTooltipOptions) | It shows a Bubble Popup by ID that is associated to the first element in the set of matched elements. | |||
jsCreateBubblePopupByID(string,TIWCGJQTooltipOptions) | It creates a Bubble Popup by ID for each DOM element in the set of matched elements, with default options. | |||
jsCreateBubblePopupBySelector(string,TIWCGJQTooltipOptions) | It creates a Bubble Popup by Selector for each DOM element in the set of matched elements, with default options. | |||
jsDestroyBubblePopupByID(string) | Represents method | |||
jsHideBubblePopupByID(string) | The function hides a Bubble Popup by ID that is associated to the first element in the set of matched elements. | |||
jsHideBubblePopupBySelector(string) | The function hides a Bubble Popup by Selector that is associated to the first element in the set of matched elements. | |||
JSonEscape | Represents method | |||
JSonIdent | Represents method | |||
JSonNameQuote | Represents method | |||
jsSetBubblePopupInnerHtml(string,string,boolean) | Represents method | |||
jsSetBubblePopupOptions(string,ISuperObject) | Represents method | |||
jsShowAllBubblePopupsById(string) | The function shows all Bubble Popups by ID that are associated to each element in the set of matched elements. | |||
jsShowAllBubblePopupsBySelector(string) | The function shows all Bubble Popups by Selector that are associated to each element in the set of matched elements. | |||
jsShowBubblePopupBySelector(string,TIWCGJQTooltipOptions) | It shows a Bubble Popup by Selector that is associated to the first element in the set of matched elements. | |||
ResetProps | Represents method | |||
SetBooleanValue(Integer,Boolean) | Represents method | |||
SetBubblePopupInnerHtml(string,string,boolean) | The function sets permanently the “innerHtml” of all Bubble Popups associated to the elements in the set of matched elements; It takes an optional parameter to know if the new “innerHtml” must be saved permanently or not, by default is true. Note: before using this function, you must call the function .CreateBubblePopup() | |||
SetBubblePopupOptions(string,ISuperObject) | The function sets new options or replace entirely old options with the new ones of all Bubble Popups associated to the elements in the set of matched elements. Note1: before using this function, you must call the function .CreateBubblePopup() Note2: new options do not inherit settings from old options | |||
SetColorValue(Integer,TIWCGColor) | Represents method | |||
SetCurrencyValue(Integer,Currency) | Represents method | |||
SetDoubleValue(Integer,Double) | Represents method | |||
SetDynObjListValue(Integer,TIWCGJSonDynObjList) | Represents method | |||
SetEnumerValue(Integer,Byte) | Represents method | |||
SetEnumSetValue(Integer,Pointer) | Represents method | |||
SetFuncValue(Integer,TIWCGJSonFunc) | Represents method | |||
SetIntegerValue(Integer,Integer) | Represents method | |||
SetJSonValue(Integer,TCGJSon) | Represents method | |||
SetObjListValue(Integer,TIWCGJSonList) | Represents method | |||
SetObjValue(Integer,TIWCGJSon) | Represents method | |||
SetSimpleArrayValue(Integer,TIWCGJSonSimpleArray) | Represents method | |||
SetStringValue(Integer,string) | Represents method | |||
SetVariantValue(Integer,Variant) | Represents method | |||
ShowAllBubblePopupsById(string) | Represents method | |||
ShowAllBubblePopupsBySelector(string) | Represents method | |||
ShowBubblePopupByID(string,TIWCGJQTooltipOptions) | Represents method | |||
ShowBubblePopupBySelector(string,TIWCGJQTooltipOptions) | Represents method | |||
StoreProperty(PPropInfo,TObject) | Represents method | |||
SupportsSetter(TObject,TCGJSonMember) | Represents method |