Class MenuBase
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IContainItemStorage
,IAddChild
,IQueryAmbient
- Direct Known Subclasses:
ContextMenu
,Menu
public class MenuBase extends ItemsControl
The base .NET class managing System.Windows.Controls.Primitives.MenuBase, PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Controls.Primitives.MenuBase
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static String
assemblyShortName
Assembly name: PresentationFrameworkstatic String
className
Qualified class name: System.Windows.Controls.Primitives.MenuBasestatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MenuBase
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoMenuBase
, a cast assert is made to check if types are compatible.ItemContainerTemplateSelector
getItemContainerTemplateSelector()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeboolean
getUsesItemContainerTemplate()
void
setItemContainerTemplateSelector(ItemContainerTemplateSelector ItemContainerTemplateSelector)
void
setJCOInstance(JCObject instance)
void
setUsesItemContainerTemplate(boolean UsesItemContainerTemplate)
-
Methods inherited from class system.windows.controls.ItemsControl
AddChild, AddText, BeginInit, Clear, ClearItemValue, ClearValue, ContainerFromElement, ContainerFromElement, EndInit, getAlternationCount, GetAlternationIndex, getDisplayMemberPath, getGroupStyleSelector, getHasItems, getIsGrouping, getIsTextSearchCaseSensitive, getIsTextSearchEnabled, getItemBindingGroup, getItemContainerGenerator, getItemContainerStyle, getItemContainerStyleSelector, getItems, GetItemsOwner, getItemsPanel, getItemsSource, getItemStringFormat, getItemTemplate, getItemTemplateSelector, IsItemItsOwnContainer, ItemsControlFromItemContainer, ReadItemValue, setAlternationCount, setDisplayMemberPath, setGroupStyleSelector, setIsTextSearchCaseSensitive, setIsTextSearchEnabled, setItemBindingGroup, setItemContainerStyle, setItemContainerStyleSelector, setItemsPanel, setItemsSource, setItemStringFormat, setItemTemplate, setItemTemplateSelector, ShouldSerializeGroupStyle, ShouldSerializeItems, StoreItemValue
-
Methods inherited from class system.windows.controls.Control
addMouseDoubleClick, addPreviewMouseDoubleClick, getBackground, getBorderBrush, getBorderThickness, getFontFamily, getFontSize, getFontStretch, getFontStyle, getFontWeight, getForeground, getHorizontalContentAlignment, getIsTabStop, getPadding, getTabIndex, getTemplate, getVerticalContentAlignment, removeMouseDoubleClick, removePreviewMouseDoubleClick, setBackground, setBorderBrush, setBorderThickness, setFontFamily, setFontSize, setFontStretch, setFontStyle, setFontWeight, setForeground, setHorizontalContentAlignment, setIsTabStop, setPadding, setTabIndex, setTemplate, setVerticalContentAlignment
-
Methods inherited from class system.windows.FrameworkElement
addContextMenuClosing, addContextMenuOpening, addDataContextChanged, addInitialized, addLoaded, addRequestBringIntoView, addSizeChanged, addToolTipClosing, addToolTipOpening, addUnloaded, ApplyTemplate, BeginStoryboard, BeginStoryboard, BeginStoryboard, BringIntoView, BringIntoView, FindName, FindResource, getActualHeight, getActualWidth, GetBindingExpression, getBindingGroup, getContextMenu, getCursor, getDataContext, getFlowDirection, GetFlowDirection, getFocusVisualStyle, getForceCursor, getHeight, getHorizontalAlignment, getInputScope, getIsInitialized, getIsLoaded, getLanguage, getLayoutTransform, getMargin, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getName, getOverridesDefaultStyle, getParent, getResources, getStyle, getTag, getTemplatedParent, getToolTip, getTriggers, getUseLayoutRounding, getVerticalAlignment, getWidth, IsAmbientPropertyAvailable, MoveFocus, OnApplyTemplate, PredictFocus, RegisterName, removeContextMenuClosing, removeContextMenuOpening, removeDataContextChanged, removeInitialized, removeLoaded, removeRequestBringIntoView, removeSizeChanged, removeToolTipClosing, removeToolTipOpening, removeUnloaded, SetBinding, SetBinding, setBindingGroup, setContextMenu, setCursor, setDataContext, setFlowDirection, SetFlowDirection, setFocusVisualStyle, setForceCursor, setHeight, setHorizontalAlignment, setInputScope, setLanguage, setLayoutTransform, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setName, setOverridesDefaultStyle, SetResourceReference, setResources, setStyle, setTag, setToolTip, setUseLayoutRounding, setVerticalAlignment, setWidth, ShouldSerializeResources, ShouldSerializeStyle, ShouldSerializeTriggers, TryFindResource, UnregisterName, UpdateDefaultStyle
-
Methods inherited from class system.windows.UIElement
addDragEnter, addDragLeave, addDragOver, addDrop, addFocusableChanged, addGiveFeedback, addGotFocus, addGotKeyboardFocus, addGotMouseCapture, addGotStylusCapture, addIsEnabledChanged, addIsHitTestVisibleChanged, addIsKeyboardFocusedChanged, addIsKeyboardFocusWithinChanged, addIsMouseCapturedChanged, addIsMouseCaptureWithinChanged, addIsMouseDirectlyOverChanged, addIsStylusCapturedChanged, addIsStylusCaptureWithinChanged, addIsStylusDirectlyOverChanged, addIsVisibleChanged, addKeyDown, addKeyUp, addLayoutUpdated, addLostFocus, addLostKeyboardFocus, addLostMouseCapture, addLostStylusCapture, addMouseDown, addMouseEnter, addMouseLeave, addMouseLeftButtonDown, addMouseLeftButtonUp, addMouseMove, addMouseRightButtonDown, addMouseRightButtonUp, addMouseUp, addMouseWheel, addPreviewDragEnter, addPreviewDragLeave, addPreviewDragOver, addPreviewDrop, addPreviewGiveFeedback, addPreviewGotKeyboardFocus, addPreviewKeyDown, addPreviewKeyUp, addPreviewLostKeyboardFocus, addPreviewMouseDown, addPreviewMouseLeftButtonDown, addPreviewMouseLeftButtonUp, addPreviewMouseMove, addPreviewMouseRightButtonDown, addPreviewMouseRightButtonUp, addPreviewMouseUp, addPreviewMouseWheel, addPreviewQueryContinueDrag, addPreviewStylusButtonDown, addPreviewStylusButtonUp, addPreviewStylusDown, addPreviewStylusInAirMove, addPreviewStylusInRange, addPreviewStylusMove, addPreviewStylusOutOfRange, addPreviewStylusSystemGesture, addPreviewStylusUp, addPreviewTextInput, addQueryContinueDrag, addQueryCursor, addStylusButtonDown, addStylusButtonUp, addStylusDown, addStylusEnter, addStylusInAirMove, addStylusInRange, addStylusLeave, addStylusMove, addStylusOutOfRange, addStylusSystemGesture, addStylusUp, addTextInput, AddToEventRoute, ApplyAnimationClock, ApplyAnimationClock, Arrange, BeginAnimation, BeginAnimation, CaptureMouse, CaptureStylus, CaptureTouch, Focus, getAllowDrop, GetAnimationBaseValue, getAreAnyTouchesCaptured, getAreAnyTouchesCapturedWithin, getAreAnyTouchesDirectlyOver, getAreAnyTouchesOver, getBitmapEffect, getBitmapEffectInput, getCacheMode, getClip, getClipToBounds, getCommandBindings, getDesiredSize, getEffect, getFocusable, getHasAnimatedProperties, getInputBindings, getIsArrangeValid, getIsEnabled, getIsFocused, getIsHitTestVisible, getIsInputMethodEnabled, getIsKeyboardFocused, getIsKeyboardFocusWithin, getIsManipulationEnabled, getIsMeasureValid, getIsMouseCaptured, getIsMouseCaptureWithin, getIsMouseDirectlyOver, getIsMouseOver, getIsStylusCaptured, getIsStylusCaptureWithin, getIsStylusDirectlyOver, getIsStylusOver, getIsVisible, getOpacity, getOpacityMask, getPersistId, getRenderSize, getRenderTransform, getRenderTransformOrigin, getSnapsToDevicePixels, getUid, getVisibility, InputHitTest, InvalidateArrange, InvalidateMeasure, InvalidateVisual, Measure, RaiseEvent, ReleaseAllTouchCaptures, ReleaseMouseCapture, ReleaseStylusCapture, ReleaseTouchCapture, removeDragEnter, removeDragLeave, removeDragOver, removeDrop, removeFocusableChanged, removeGiveFeedback, removeGotFocus, removeGotKeyboardFocus, removeGotMouseCapture, removeGotStylusCapture, removeIsEnabledChanged, removeIsHitTestVisibleChanged, removeIsKeyboardFocusedChanged, removeIsKeyboardFocusWithinChanged, removeIsMouseCapturedChanged, removeIsMouseCaptureWithinChanged, removeIsMouseDirectlyOverChanged, removeIsStylusCapturedChanged, removeIsStylusCaptureWithinChanged, removeIsStylusDirectlyOverChanged, removeIsVisibleChanged, removeKeyDown, removeKeyUp, removeLayoutUpdated, removeLostFocus, removeLostKeyboardFocus, removeLostMouseCapture, removeLostStylusCapture, removeMouseDown, removeMouseEnter, removeMouseLeave, removeMouseLeftButtonDown, removeMouseLeftButtonUp, removeMouseMove, removeMouseRightButtonDown, removeMouseRightButtonUp, removeMouseUp, removeMouseWheel, removePreviewDragEnter, removePreviewDragLeave, removePreviewDragOver, removePreviewDrop, removePreviewGiveFeedback, removePreviewGotKeyboardFocus, removePreviewKeyDown, removePreviewKeyUp, removePreviewLostKeyboardFocus, removePreviewMouseDown, removePreviewMouseLeftButtonDown, removePreviewMouseLeftButtonUp, removePreviewMouseMove, removePreviewMouseRightButtonDown, removePreviewMouseRightButtonUp, removePreviewMouseUp, removePreviewMouseWheel, removePreviewQueryContinueDrag, removePreviewStylusButtonDown, removePreviewStylusButtonUp, removePreviewStylusDown, removePreviewStylusInAirMove, removePreviewStylusInRange, removePreviewStylusMove, removePreviewStylusOutOfRange, removePreviewStylusSystemGesture, removePreviewStylusUp, removePreviewTextInput, removeQueryContinueDrag, removeQueryCursor, removeStylusButtonDown, removeStylusButtonUp, removeStylusDown, removeStylusEnter, removeStylusInAirMove, removeStylusInRange, removeStylusLeave, removeStylusMove, removeStylusOutOfRange, removeStylusSystemGesture, removeStylusUp, removeTextInput, setAllowDrop, setBitmapEffect, setBitmapEffectInput, setCacheMode, setClip, setClipToBounds, setEffect, setFocusable, setIsEnabled, setIsHitTestVisible, setIsManipulationEnabled, setOpacity, setOpacityMask, setRenderSize, setRenderTransform, setRenderTransformOrigin, setSnapsToDevicePixels, setUid, setVisibility, ShouldSerializeCommandBindings, ShouldSerializeInputBindings, TranslatePoint, UpdateLayout
-
Methods inherited from class system.windows.media.Visual
FindCommonVisualAncestor, IsAncestorOf, IsDescendantOf, PointFromScreen, PointToScreen, TransformToAncestor, TransformToAncestor, TransformToDescendant, TransformToVisual
-
Methods inherited from class system.windows.DependencyObject
ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValue
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Controls.Primitives.MenuBase- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIAddChild
- Specified by:
getJCOAssemblyName
in interfaceIContainItemStorage
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIQueryAmbient
- Overrides:
getJCOAssemblyName
in classItemsControl
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIAddChild
- Specified by:
getJCOClassName
in interfaceIContainItemStorage
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIQueryAmbient
- Overrides:
getJCOClassName
in classItemsControl
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIAddChild
- Specified by:
getJCOObjectName
in interfaceIContainItemStorage
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIQueryAmbient
- Overrides:
getJCOObjectName
in classItemsControl
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIAddChild
- Specified by:
getJCOInstance
in interfaceIContainItemStorage
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIQueryAmbient
- Overrides:
getJCOInstance
in classItemsControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classItemsControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIAddChild
- Specified by:
getJCOType
in interfaceIContainItemStorage
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIQueryAmbient
- Overrides:
getJCOType
in classItemsControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static MenuBase cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoMenuBase
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
MenuBase
instance- Throws:
Throwable
- in case of error during cast operation
-
getUsesItemContainerTemplate
public boolean getUsesItemContainerTemplate() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setUsesItemContainerTemplate
public void setUsesItemContainerTemplate(boolean UsesItemContainerTemplate) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, CultureNotFoundException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException
-
getItemContainerTemplateSelector
public ItemContainerTemplateSelector getItemContainerTemplateSelector() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setItemContainerTemplateSelector
public void setItemContainerTemplateSelector(ItemContainerTemplateSelector ItemContainerTemplateSelector) throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException
-
-