Namespace: Consultingwerk.Util
Class 
UltraStatusBarHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:UltraStatusBarHelper
Purpose:Supports Merging of UltraStatusBar Controls
Syntax:Static methods only, Protected constructor to disallow
instance creation
Description:Useful when merging the Statusbar of an MDI Child into
the MDI Parent
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Oct 17 18:06:13 CEST 2011
Notes:This file is intended for GUI for .NET only



Top Method Summary
Options Name Purpose
+ Merge (UltraStatusBar, UltraStatusBar) Merges the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar into the target (MDI Panel) UltraStatusBar, the Source's status panels are placed at the location of the placeholder status panel of the target.
+ Merge (UltraStatusBar, UltraStatusBar, character) Merges the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar into the target (MDI Panel) UltraStatusBar, the Source's status panels are placed at the location of the placeholder status panel of the target.
+ Remove (UltraStatusBar, UltraStatusBar) Removes the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar from the target (MDI Panel) UltraStatusBar and makes the placeholder status panel visible again.
+ Remove (UltraStatusBar, UltraStatusBar, character) Removes the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar from the target (MDI Panel) UltraStatusBar and makes the placeholder status panel visible again.
+ ShowPanel (UltraStatusBar, character, logical) Controls whether an individual Panel within the target status bar should be visible or not.
+ ShowPanel (UltraStatusBar, logical) Controls whether an individual Panel within the target status bar should be visible or not.
+ Synchronize (UltraStatusBar, UltraStatusBar) Synchronizes the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar with the target (MDI Panel) UltraStatusBar. Uses the Key of the panels to identify matches

Top Constructor Summary
Options Name Purpose
# UltraStatusBarHelper () Disallow instance creation


Method Detail
Top

PUBLIC Merge (UltraStatusBar, UltraStatusBar)

Purpose: Merges the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar
into the target (MDI Panel) UltraStatusBar, the Source's status panels
are placed at the location of the placeholder status panel of the
target.
Notes: UltraStatusBar Panels that do not yet have a Key assigned will receive
a GUID as the key for later recognition during the Synchronize
Uses "placeholder" as the default key of the placeholder UltraStatusPanel

Parameters:
poTarget Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the target UltraStatusBar instance
poSource Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the source UltraStatusBar instance
Top

PUBLIC Merge (UltraStatusBar, UltraStatusBar, character)

Purpose: Merges the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar
into the target (MDI Panel) UltraStatusBar, the Source's status panels
are placed at the location of the placeholder status panel of the
target.
Notes: UltraStatusBar Panels that do not yet have a Key assigned will receive
a GUID as the key for later recognition during the Synchronize

Parameters:
poTarget Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the target UltraStatusBar instance
poSource Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the source UltraStatusBar instance
pcPlaceholderKey CHARACTER
The key of the placeholder status bar panel
Top

PUBLIC Remove (UltraStatusBar, UltraStatusBar)

Purpose: Removes the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar
from the target (MDI Panel) UltraStatusBar and makes the placeholder
status panel visible again.
Notes: Uses "placeholder" as the default key of the placeholder UltraStatusPanel

Parameters:
poTarget Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the target UltraStatusBar instance
poSource Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the source UltraStatusBar instance
Top

PUBLIC Remove (UltraStatusBar, UltraStatusBar, character)

Purpose: Removes the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar
from the target (MDI Panel) UltraStatusBar and makes the placeholder
status panel visible again.
Notes:

Parameters:
poTarget Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the target UltraStatusBar instance
poSource Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the source UltraStatusBar instance
pcPlaceholderKey CHARACTER
The key of the placeholder status bar panel
Top

PUBLIC ShowPanel (UltraStatusBar, character, logical)

Purpose: Controls whether an individual Panel within the target status bar
should be visible or not.
Notes: Uses "placeholder" as the default key of the placeholder UltraStatusPanel

Parameters:
poStatusBar Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the UltraStatusBar Control that contains the panel
pcPanelKey CHARACTER
The key of the panel to show or hide
plShow LOGICAL
Logical flag indicating if the panel should be shown (true) or hidden (false)
Top

PUBLIC ShowPanel (UltraStatusBar, logical)

Purpose: Controls whether an individual Panel within the target status bar
should be visible or not.
Notes: Uses "placeholder" as the default key of the placeholder UltraStatusPanel

Parameters:
poStatusBar Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the UltraStatusBar Control that contains the panel
plShow LOGICAL
Logical flag indicating if the panel should be shown (true) or hidden (false)
Top

PUBLIC Synchronize (UltraStatusBar, UltraStatusBar)

Purpose: Synchronizes the UltraStatusPanel's of the Source (MDI Child) UltraStatusBar
with the target (MDI Panel) UltraStatusBar. Uses the Key of the
panels to identify matches
Notes:

Parameters:
poTarget Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the target UltraStatusBar instance
poSource Infragistics.Win.UltraWinStatusBar.UltraStatusBar
The reference to the source UltraStatusBar instance


Constructor Detail
Top

PROTECTED UltraStatusBarHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:57:53