Package system.windows.forms
Class NumericUpDown
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IDropTarget
public class NumericUpDown extends UpDownBase
The base .NET class managing System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.NumericUpDown
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.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.NumericUpDownstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description NumericUpDown()NumericUpDown(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPaddingChanged(EventHandler handler)voidaddTextChanged(EventHandler handler)voidaddValueChanged(EventHandler handler)voidBeginInit()static NumericUpDowncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoNumericUpDown, a cast assert is made to check if types are compatible.voidDownButton()voidEndInit()NumericUpDownAccelerationCollectiongetAccelerations()intgetDecimalPlaces()booleangetHexadecimal()DecimalgetIncrement()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeDecimalgetMaximum()DecimalgetMinimum()PaddinggetPadding()booleangetThousandsSeparator()DecimalgetValue()voidremovePaddingChanged(EventHandler handler)voidremoveTextChanged(EventHandler handler)voidremoveValueChanged(EventHandler handler)voidsetDecimalPlaces(int DecimalPlaces)voidsetHexadecimal(boolean Hexadecimal)voidsetIncrement(Decimal Increment)voidsetJCOInstance(JCObject instance)voidsetMaximum(Decimal Maximum)voidsetMinimum(Decimal Minimum)voidsetPadding(Padding Padding)voidsetThousandsSeparator(boolean ThousandsSeparator)voidsetValue(Decimal Value)voidUpButton()-
Methods inherited from class system.windows.forms.UpDownBase
addAutoSizeChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, getAutoScrollMargin, getAutoScrollMinSize, getBorderStyle, getInterceptArrowKeys, getPreferredHeight, getReadOnly, getTextAlign, getUpDownAlign, removeAutoSizeChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, Select, setAutoScrollMargin, setAutoScrollMinSize, setBorderStyle, setInterceptArrowKeys, setReadOnly, setTextAlign, setUpDownAlign
-
Methods inherited from class system.windows.forms.ContainerControl
addAutoValidateChanged, getActiveControl, getAutoScaleDimensions, getAutoScaleMode, getAutoValidate, getCurrentAutoScaleDimensions, getParentForm, PerformAutoScale, removeAutoValidateChanged, setActiveControl, setAutoScaleDimensions, setAutoScaleMode, setAutoValidate, Validate, Validate, ValidateChildren, ValidateChildren
-
Methods inherited from class system.windows.forms.ScrollableControl
addScroll, getAutoScroll, getAutoScrollPosition, getHorizontalScroll, getVerticalScroll, removeScroll, ScrollControlIntoView, setAutoScroll, SetAutoScrollMargin, setAutoScrollPosition
-
Methods inherited from class system.windows.forms.Control
addBackColorChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, addInvalidated, addKeyDown, addKeyPress, addKeyUp, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseUp, addMouseWheel, addMove, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, addValidated, addValidating, addVisibleChanged, BeginInvoke, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DoDragDrop, DrawToBitmap, EndInvoke, FindForm, Focus, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAllowDrop, getAnchor, getAutoScrollOffset, getAutoSize, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCausesValidation, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTabStop, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, InvokeAsync, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBackColorChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, removeInvalidated, removeKeyDown, removeKeyPress, removeKeyUp, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseUp, removeMouseWheel, removeMove, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, removeValidated, removeValidating, removeVisibleChanged, ResetBackColor, ResetBindings, ResetCursor, ResetFont, ResetForeColor, ResetImeMode, ResetRightToLeft, ResetText, ResumeLayout, ResumeLayout, Scale, Scale, Scale, ScaleBitmapLogicalToDevice, Select, SelectNextControl, SendToBack, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAllowDrop, setAnchor, setAutoScrollOffset, setAutoSize, setBackColor, setBackgroundImage, setBackgroundImageLayout, setBindingContext, setBounds, SetBounds, SetBounds, setCapture, setCausesValidation, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTabStop, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, Update
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.windows.forms.IDropTarget
OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.NumericUpDown- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NumericUpDown
public NumericUpDown(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
NumericUpDown
public NumericUpDown() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, Win32Exception, ArgumentException, InvalidOperationException, NotSupportedException, InvalidEnumArgumentException, OverflowException, MulticastNotSupportedException, ArgumentOutOfRangeException, KeyNotFoundException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionWin32ExceptionArgumentExceptionInvalidOperationExceptionNotSupportedExceptionInvalidEnumArgumentExceptionOverflowExceptionMulticastNotSupportedExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDropTarget- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classUpDownBase- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIDropTarget- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classUpDownBase- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIDropTarget- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classUpDownBase- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIDropTarget- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classUpDownBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classUpDownBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classUpDownBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static NumericUpDown cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoNumericUpDown, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
NumericUpDowninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
BeginInit
public void BeginInit() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DownButton
public void DownButton() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, OverflowException, SecurityException, ArrayTypeMismatchException, FormatException, ArgumentNullException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException- Overrides:
DownButtonin classUpDownBase- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionArrayTypeMismatchExceptionFormatExceptionArgumentNullExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedException
-
EndInit
public void EndInit() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
-
UpButton
public void UpButton() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, OverflowException, SecurityException, ArrayTypeMismatchException, FormatException, ArgumentNullException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException- Overrides:
UpButtonin classUpDownBase- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionInvalidTimeZoneExceptionOverflowExceptionSecurityExceptionArrayTypeMismatchExceptionFormatExceptionArgumentNullExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedException
-
getHexadecimal
public boolean getHexadecimal() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setHexadecimal
public void setHexadecimal(boolean Hexadecimal) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getThousandsSeparator
public boolean getThousandsSeparator() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setThousandsSeparator
public void setThousandsSeparator(boolean ThousandsSeparator) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDecimalPlaces
public int getDecimalPlaces() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDecimalPlaces
public void setDecimalPlaces(int DecimalPlaces) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getIncrement
public Decimal getIncrement() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeException
-
setIncrement
public void setIncrement(Decimal Increment) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getMaximum
public Decimal getMaximum() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaximum
public void setMaximum(Decimal Maximum) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
-
getMinimum
public Decimal getMinimum() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMinimum
public void setMinimum(Decimal Minimum) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
-
getValue
public Decimal getValue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValue
public void setValue(Decimal Value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getAccelerations
public NumericUpDownAccelerationCollection getAccelerations() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPadding
public Padding getPadding() throws java.lang.Throwable
- Overrides:
getPaddingin classControl- Throws:
java.lang.Throwable
-
setPadding
public void setPadding(Padding Padding) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException
- Overrides:
setPaddingin classControl- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotSupportedException
-
addPaddingChanged
public void addPaddingChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
addPaddingChangedin classControl- Throws:
java.lang.Throwable
-
removePaddingChanged
public void removePaddingChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removePaddingChangedin classControl- Throws:
java.lang.Throwable
-
addTextChanged
public void addTextChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
addTextChangedin classControl- Throws:
java.lang.Throwable
-
removeTextChanged
public void removeTextChanged(EventHandler handler) throws java.lang.Throwable
- Overrides:
removeTextChangedin classControl- Throws:
java.lang.Throwable
-
addValueChanged
public void addValueChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeValueChanged
public void removeValueChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-