C# 클래스 ComponentFactory.Krypton.Navigator.ViewBuilderItemBase

Base class for implementation of various check button modes.
상속: ViewBuilderBase
파일 보기 프로젝트 열기: ComponentFactory/Krypton

보호된 프로퍼티들

프로퍼티 타입 설명
_buttonManager ButtonSpecManagerBase
_drawGroup ComponentFactory.Krypton.Toolkit.ViewDrawCanvas
_drawPanel ComponentFactory.Krypton.Toolkit.ViewDrawPanel
_layoutBar ViewLayoutBar
_layoutBarDocker ComponentFactory.Krypton.Toolkit.ViewLayoutDocker
_layoutBarViewport ComponentFactory.Krypton.Toolkit.ViewLayoutViewport
_newRoot ViewBase
_oldRoot ViewBase
_pageLookup PageToNavCheckItem

Private Properties

프로퍼티 타입 설명
BringPageIntoView void
CreateNavCheckItems void
DestructCheckButtons void
DestructNavCheckItems void
OnCheckButtonDragOffset void
OnCheckButtonDragRect void
OnItemPageInserted void
OnItemPageRemoved void
OnItemPagesCleared void
OnNavigatorEnabledChanged void
OnNavigatorRightToLeftChanged void
OnViewportAnimation void
RecreateView void
RefreshButtons void
UpdateButtonsAndPalette void
UpdateCheckItemStyle void
UpdateSelectedPageFocus void

공개 메소드들

메소드 설명
ButtonSpecFromView ( ViewBase element ) : ButtonSpec

Gets the ButtonSpec associated with the provided view element.

Construct ( KryptonNavigator navigator, ViewManager manager, PaletteRedirect redirector ) : void

Construct the view appropriate for this builder.

DesignerGetHitTest ( Point pt ) : bool

Is the provided over a part of the view that wants the mouse.

Destruct ( ) : void

Destruct the previously created view.

GetContextShowPoint ( ) : Point

Gets the screen coorindates for showing a context action menu.

GetFixedButtonLocation ( ButtonSpecNavFixed buttonSpec ) : HeaderLocation

Gets the appropriate display location for the button.

GiveNavigatorFocus ( ViewBase element ) : bool

Should this element cause the navigator to gain the focus.

GotFocus ( ) : void

Occurs when the navigator takes the focus.

LostFocus ( ) : void

Occurs when the navigator loses the focus.

NextActionEnabled ( DirectionButtonAction action ) : ButtonEnabled

Calculate the enabled state of the next button based on the required action.

PageAppearanceChanged ( KryptonPage page, string property ) : void

Notification that a krypton page appearance property has changed.

PageCollectionChanged ( ) : void

Change has occured to the collection of pages.

PageEnabledStateChanged ( KryptonPage page ) : void

Process a change in the enabled state for a page.

PageFromView ( ViewBase element ) : KryptonPage

Gets the KryptonPage associated with the provided view element.

PageVisibleStateChanged ( KryptonPage page ) : void

Process a change in the visible state for a page.

PerformNextAction ( DirectionButtonAction action, KryptonPage page ) : void

Peform the next button action requested.

PerformPreviousAction ( DirectionButtonAction action, KryptonPage page ) : void

Peform the previous button action requested.

PostLayout ( ) : void

Perform post layout operations.

PreviousActionEnabled ( DirectionButtonAction action ) : ButtonEnabled

Calculate the enabled state of the previous button based on the required action.

ProcessDialogKey ( Keys keyData ) : bool

Process a dialog key in a manner appropriate for the view.

SelectedPageChanged ( ) : void

Process a change in the selected page

UpdateStatePalettes ( ) : void

Ensure the correct state palettes are being used.

보호된 메소드들

메소드 설명
ConvertButtonBorderBackOrientation ( ) : VisualOrientation

Gets the visual orientation of the check butttons border and background.

ConvertButtonContentOrientation ( ) : VisualOrientation

Gets the visual orientation of the check butttons content.

CreateButtonSpecManager ( ) : void

Create a manager for handling the button specifications.

CreateCheckItem ( KryptonPage page, VisualOrientation orientation ) : INavCheckItem

Create a new check item with initial settings.

CreateCheckItemView ( ) : void

Create the view hierarchy for this view mode.

DestructButtonSpecManager ( ) : void

Destruct the button manager instance.

DestructCheckItemView ( ) : void

Destruct the view hierarchy for this mode.

OnViewBuilderPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Process the change in a property that might effect the view builder.

PostCreate ( ) : void

Perform post create tasks.

ResolveButtonContentOrientation ( VisualOrientation orientation ) : VisualOrientation

Convert the item orientation using the requested parent orientation.

UpdateItemOrientation ( ) : void

Update the orientation of the individual items.

UpdateOrientation ( ) : void

Update the bar orientation.

비공개 메소드들

메소드 설명
BringPageIntoView ( KryptonPage page ) : void
CreateNavCheckItems ( ) : void
DestructCheckButtons ( ) : void
DestructNavCheckItems ( ) : void
OnCheckButtonDragOffset ( object sender, ButtonDragOffsetEventArgs e ) : void
OnCheckButtonDragRect ( object sender, ButtonDragRectangleEventArgs e ) : void
OnItemPageInserted ( object sender, TypedCollectionEventArgs e ) : void
OnItemPageRemoved ( object sender, TypedCollectionEventArgs e ) : void
OnItemPagesCleared ( object sender, EventArgs e ) : void
OnNavigatorEnabledChanged ( object sender, EventArgs e ) : void
OnNavigatorRightToLeftChanged ( object sender, EventArgs e ) : void
OnViewportAnimation ( object sender, EventArgs e ) : void
RecreateView ( ) : void
RefreshButtons ( ) : void
UpdateButtonsAndPalette ( ) : void
UpdateCheckItemStyle ( ) : void
UpdateSelectedPageFocus ( ) : void

메소드 상세

ButtonSpecFromView() 공개 메소드

Gets the ButtonSpec associated with the provided view element.
public ButtonSpecFromView ( ViewBase element ) : ButtonSpec
element ViewBase Element to search against.
리턴 ComponentFactory.Krypton.Toolkit.ButtonSpec

Construct() 공개 메소드

Construct the view appropriate for this builder.
public Construct ( KryptonNavigator navigator, ViewManager manager, PaletteRedirect redirector ) : void
navigator KryptonNavigator Reference to navigator instance.
manager ComponentFactory.Krypton.Toolkit.ViewManager Reference to current manager.
redirector ComponentFactory.Krypton.Toolkit.PaletteRedirect Palette redirector.
리턴 void

ConvertButtonBorderBackOrientation() 보호된 메소드

Gets the visual orientation of the check butttons border and background.
protected ConvertButtonBorderBackOrientation ( ) : VisualOrientation
리턴 VisualOrientation

ConvertButtonContentOrientation() 보호된 메소드

Gets the visual orientation of the check butttons content.
protected ConvertButtonContentOrientation ( ) : VisualOrientation
리턴 VisualOrientation

CreateButtonSpecManager() 보호된 메소드

Create a manager for handling the button specifications.
protected CreateButtonSpecManager ( ) : void
리턴 void

CreateCheckItem() 보호된 메소드

Create a new check item with initial settings.
protected CreateCheckItem ( KryptonPage page, VisualOrientation orientation ) : INavCheckItem
page KryptonPage Page for which the check button is to be created.
orientation VisualOrientation Initial orientation of the check button.
리턴 INavCheckItem

CreateCheckItemView() 보호된 메소드

Create the view hierarchy for this view mode.
protected CreateCheckItemView ( ) : void
리턴 void

DesignerGetHitTest() 공개 메소드

Is the provided over a part of the view that wants the mouse.
public DesignerGetHitTest ( Point pt ) : bool
pt Point Mouse point.
리턴 bool

Destruct() 공개 메소드

Destruct the previously created view.
public Destruct ( ) : void
리턴 void

DestructButtonSpecManager() 보호된 메소드

Destruct the button manager instance.
protected DestructButtonSpecManager ( ) : void
리턴 void

DestructCheckItemView() 보호된 메소드

Destruct the view hierarchy for this mode.
protected DestructCheckItemView ( ) : void
리턴 void

GetContextShowPoint() 공개 메소드

Gets the screen coorindates for showing a context action menu.
public GetContextShowPoint ( ) : Point
리턴 Point

GetFixedButtonLocation() 공개 메소드

Gets the appropriate display location for the button.
public GetFixedButtonLocation ( ButtonSpecNavFixed buttonSpec ) : HeaderLocation
buttonSpec ButtonSpecNavFixed ButtonSpec instance.
리턴 HeaderLocation

GiveNavigatorFocus() 공개 메소드

Should this element cause the navigator to gain the focus.
public GiveNavigatorFocus ( ViewBase element ) : bool
element ViewBase Element that is being activated.
리턴 bool

GotFocus() 공개 메소드

Occurs when the navigator takes the focus.
public GotFocus ( ) : void
리턴 void

LostFocus() 공개 메소드

Occurs when the navigator loses the focus.
public LostFocus ( ) : void
리턴 void

NextActionEnabled() 공개 메소드

Calculate the enabled state of the next button based on the required action.
public NextActionEnabled ( DirectionButtonAction action ) : ButtonEnabled
action DirectionButtonAction Requested action.
리턴 ButtonEnabled

OnViewBuilderPropertyChanged() 보호된 메소드

Process the change in a property that might effect the view builder.
protected OnViewBuilderPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.PropertyChangedEventArgs Property changed details.
리턴 void

PageAppearanceChanged() 공개 메소드

Notification that a krypton page appearance property has changed.
public PageAppearanceChanged ( KryptonPage page, string property ) : void
page KryptonPage Page that has changed.
property string Name of property that has changed.
리턴 void

PageCollectionChanged() 공개 메소드

Change has occured to the collection of pages.
public PageCollectionChanged ( ) : void
리턴 void

PageEnabledStateChanged() 공개 메소드

Process a change in the enabled state for a page.
public PageEnabledStateChanged ( KryptonPage page ) : void
page KryptonPage Page that has changed enabled state.
리턴 void

PageFromView() 공개 메소드

Gets the KryptonPage associated with the provided view element.
public PageFromView ( ViewBase element ) : KryptonPage
element ViewBase Element to search against.
리턴 KryptonPage

PageVisibleStateChanged() 공개 메소드

Process a change in the visible state for a page.
public PageVisibleStateChanged ( KryptonPage page ) : void
page KryptonPage Page that has changed visible state.
리턴 void

PerformNextAction() 공개 메소드

Peform the next button action requested.
public PerformNextAction ( DirectionButtonAction action, KryptonPage page ) : void
action DirectionButtonAction Requested action.
page KryptonPage Selected page at time of action request.
리턴 void

PerformPreviousAction() 공개 메소드

Peform the previous button action requested.
public PerformPreviousAction ( DirectionButtonAction action, KryptonPage page ) : void
action DirectionButtonAction Requested action.
page KryptonPage Selected page at time of action request.
리턴 void

PostCreate() 보호된 메소드

Perform post create tasks.
protected PostCreate ( ) : void
리턴 void

PostLayout() 공개 메소드

Perform post layout operations.
public PostLayout ( ) : void
리턴 void

PreviousActionEnabled() 공개 메소드

Calculate the enabled state of the previous button based on the required action.
public PreviousActionEnabled ( DirectionButtonAction action ) : ButtonEnabled
action DirectionButtonAction Requested action.
리턴 ButtonEnabled

ProcessDialogKey() 공개 메소드

Process a dialog key in a manner appropriate for the view.
public ProcessDialogKey ( Keys keyData ) : bool
keyData Keys Key data.
리턴 bool

ResolveButtonContentOrientation() 보호된 메소드

Convert the item orientation using the requested parent orientation.
protected ResolveButtonContentOrientation ( VisualOrientation orientation ) : VisualOrientation
orientation VisualOrientation
리턴 VisualOrientation

SelectedPageChanged() 공개 메소드

Process a change in the selected page
public SelectedPageChanged ( ) : void
리턴 void

UpdateItemOrientation() 보호된 메소드

Update the orientation of the individual items.
protected UpdateItemOrientation ( ) : void
리턴 void

UpdateOrientation() 보호된 추상적인 메소드

Update the bar orientation.
protected abstract UpdateOrientation ( ) : void
리턴 void

UpdateStatePalettes() 공개 메소드

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
리턴 void

프로퍼티 상세

_buttonManager 보호되어 있는 프로퍼티

protected ButtonSpecManagerBase _buttonManager
리턴 ButtonSpecManagerBase

_drawGroup 보호되어 있는 프로퍼티

protected ViewDrawCanvas,ComponentFactory.Krypton.Toolkit _drawGroup
리턴 ComponentFactory.Krypton.Toolkit.ViewDrawCanvas

_drawPanel 보호되어 있는 프로퍼티

protected ViewDrawPanel,ComponentFactory.Krypton.Toolkit _drawPanel
리턴 ComponentFactory.Krypton.Toolkit.ViewDrawPanel

_layoutBar 보호되어 있는 프로퍼티

protected ViewLayoutBar,ComponentFactory.Krypton.Navigator _layoutBar
리턴 ViewLayoutBar

_layoutBarDocker 보호되어 있는 프로퍼티

protected ViewLayoutDocker,ComponentFactory.Krypton.Toolkit _layoutBarDocker
리턴 ComponentFactory.Krypton.Toolkit.ViewLayoutDocker

_layoutBarViewport 보호되어 있는 프로퍼티

protected ViewLayoutViewport,ComponentFactory.Krypton.Toolkit _layoutBarViewport
리턴 ComponentFactory.Krypton.Toolkit.ViewLayoutViewport

_newRoot 보호되어 있는 프로퍼티

protected ViewBase _newRoot
리턴 ViewBase

_oldRoot 보호되어 있는 프로퍼티

protected ViewBase _oldRoot
리턴 ViewBase

_pageLookup 보호되어 있는 프로퍼티

protected PageToNavCheckItem _pageLookup
리턴 PageToNavCheckItem