Package system.windows.controls
Class PasswordBox
- java.lang.Object
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IQueryAmbient
public class PasswordBox extends Control
The base .NET class managing System.Windows.Controls.PasswordBox, PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Controls.PasswordBox
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationFrameworkstatic java.lang.String
className
Qualified class name: System.Windows.Controls.PasswordBoxstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PasswordBox()
PasswordBox(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPasswordChanged(RoutedEventHandler handler)
static PasswordBox
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoPasswordBox
, a cast assert is made to check if types are compatible.void
Clear()
Brush
getCaretBrush()
boolean
getIsInactiveSelectionHighlightEnabled()
boolean
getIsSelectionActive()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getMaxLength()
java.lang.String
getPassword()
char
getPasswordChar()
SecureString
getSecurePassword()
Brush
getSelectionBrush()
double
getSelectionOpacity()
Brush
getSelectionTextBrush()
void
OnApplyTemplate()
void
Paste()
void
removePasswordChanged(RoutedEventHandler handler)
void
SelectAll()
void
setCaretBrush(Brush CaretBrush)
void
setIsInactiveSelectionHighlightEnabled(boolean IsInactiveSelectionHighlightEnabled)
void
setJCOInstance(JCObject instance)
void
setMaxLength(int MaxLength)
void
setPassword(java.lang.String Password)
void
setPasswordChar(char PasswordChar)
void
setSelectionBrush(Brush SelectionBrush)
void
setSelectionOpacity(double SelectionOpacity)
void
setSelectionTextBrush(Brush SelectionTextBrush)
-
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, BeginInit, BeginStoryboard, BeginStoryboard, BeginStoryboard, BringIntoView, BringIntoView, EndInit, 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, MoveFocus, 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, 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, toString, ToString
-
Methods inherited from interface system.windows.markup.IQueryAmbient
IsAmbientPropertyAvailable
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Controls.PasswordBox- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PasswordBox
public PasswordBox(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PasswordBox
public PasswordBox() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, NotSupportedException, NullReferenceException, Win32Exception, CultureNotFoundException, ObjectDisposedException, SecurityException, XamlParseException, ThreadStateException, OverflowException, CryptographicException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
NotSupportedException
NullReferenceException
Win32Exception
CultureNotFoundException
ObjectDisposedException
SecurityException
XamlParseException
ThreadStateException
OverflowException
CryptographicException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIQueryAmbient
- Overrides:
getJCOAssemblyName
in classControl
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIQueryAmbient
- Overrides:
getJCOClassName
in classControl
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIQueryAmbient
- Overrides:
getJCOObjectName
in classControl
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIQueryAmbient
- Overrides:
getJCOInstance
in classControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIQueryAmbient
- Overrides:
getJCOType
in classControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PasswordBox cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPasswordBox
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PasswordBox
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Clear
public void Clear() throws java.lang.Throwable, OutOfMemoryException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, CryptographicException, IndexOutOfRangeException
-
OnApplyTemplate
public void OnApplyTemplate() throws java.lang.Throwable, InvalidEnumArgumentException, InvalidOperationException, NotSupportedException, NullReferenceException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException
-
Paste
public void Paste() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, Win32Exception
-
SelectAll
public void SelectAll() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, FormatException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, ObjectDisposedException
-
getIsInactiveSelectionHighlightEnabled
public boolean getIsInactiveSelectionHighlightEnabled() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setIsInactiveSelectionHighlightEnabled
public void setIsInactiveSelectionHighlightEnabled(boolean IsInactiveSelectionHighlightEnabled) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException
-
getIsSelectionActive
public boolean getIsSelectionActive() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
getPasswordChar
public char getPasswordChar() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setPasswordChar
public void setPasswordChar(char PasswordChar) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
-
getSelectionOpacity
public double getSelectionOpacity() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setSelectionOpacity
public void setSelectionOpacity(double SelectionOpacity) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
-
getMaxLength
public int getMaxLength() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setMaxLength
public void setMaxLength(int MaxLength) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
-
getSecurePassword
public SecureString getSecurePassword() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, OutOfMemoryException, PlatformNotSupportedException
-
getPassword
public java.lang.String getPassword() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CryptographicException
-
setPassword
public void setPassword(java.lang.String Password) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, FormatException
-
getCaretBrush
public Brush getCaretBrush() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setCaretBrush
public void setCaretBrush(Brush CaretBrush) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
-
getSelectionBrush
public Brush getSelectionBrush() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setSelectionBrush
public void setSelectionBrush(Brush SelectionBrush) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
-
getSelectionTextBrush
public Brush getSelectionTextBrush() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
-
setSelectionTextBrush
public void setSelectionTextBrush(Brush SelectionTextBrush) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
-
addPasswordChanged
public void addPasswordChanged(RoutedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removePasswordChanged
public void removePasswordChanged(RoutedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-