Package system.windows.forms
Class TableLayoutPanel
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IExtenderProvider
,IDropTarget
- Direct Known Subclasses:
ByteViewer
public class TableLayoutPanel extends Panel implements IExtenderProvider
The base .NET class managing System.Windows.Forms.TableLayoutPanel, 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.TableLayoutPanel
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: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.TableLayoutPanelstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TableLayoutPanel()
TableLayoutPanel(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.windows.forms.Panel
addAutoSizeChanged, addKeyDown, addKeyPress, addKeyUp, addTextChanged, getAutoSizeMode, getTabStop, removeAutoSizeChanged, removeKeyDown, removeKeyPress, removeKeyUp, removeTextChanged, setAutoSizeMode, setTabStop
-
Methods inherited from class system.windows.forms.ScrollableControl
addScroll, getAutoScroll, getAutoScrollMargin, getAutoScrollMinSize, getAutoScrollPosition, getHorizontalScroll, getVerticalScroll, removeScroll, ScrollControlIntoView, setAutoScroll, setAutoScrollMargin, SetAutoScrollMargin, setAutoScrollMinSize, setAutoScrollPosition
-
Methods inherited from class system.windows.forms.Control
addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, 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, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, 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, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, 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, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, 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, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, 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, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, 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
-
Methods inherited from interface system.componentmodel.IExtenderProvider
CanExtend
-
-
-
-
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.TableLayoutPanel- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TableLayoutPanel
public TableLayoutPanel(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
TableLayoutPanel
public TableLayoutPanel() throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDropTarget
- Specified by:
getJCOAssemblyName
in interfaceIExtenderProvider
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classPanel
- 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 interfaceIDropTarget
- Specified by:
getJCOClassName
in interfaceIExtenderProvider
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classPanel
- 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 interfaceIDropTarget
- Specified by:
getJCOObjectName
in interfaceIExtenderProvider
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classPanel
- 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 interfaceIDropTarget
- Specified by:
getJCOInstance
in interfaceIExtenderProvider
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classPanel
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classPanel
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDropTarget
- Specified by:
getJCOType
in interfaceIExtenderProvider
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classPanel
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TableLayoutPanel cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTableLayoutPanel
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TableLayoutPanel
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetColumn
public int GetColumn(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
GetColumnSpan
public int GetColumnSpan(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
GetRow
public int GetRow(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
GetRowSpan
public int GetRowSpan(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
GetColumnWidths
public int[] GetColumnWidths() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
-
GetRowHeights
public int[] GetRowHeights() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
-
GetControlFromPosition
public Control GetControlFromPosition(int column, int row) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentNullException
-
GetCellPosition
public TableLayoutPanelCellPosition GetCellPosition(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
GetPositionFromControl
public TableLayoutPanelCellPosition GetPositionFromControl(Control control) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException
-
SetCellPosition
public void SetCellPosition(Control control, TableLayoutPanelCellPosition position) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException
-
SetColumn
public void SetColumn(Control control, int column) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
SetColumnSpan
public void SetColumnSpan(Control control, int value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
SetRow
public void SetRow(Control control, int row) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
SetRowSpan
public void SetRowSpan(Control control, int value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
getColumnCount
public int getColumnCount() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException
-
setColumnCount
public void setColumnCount(int ColumnCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
getRowCount
public int getRowCount() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException
-
setRowCount
public void setRowCount(int RowCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
getBorderStyle
public BorderStyle getBorderStyle() throws java.lang.Throwable
- Overrides:
getBorderStyle
in classPanel
- Throws:
java.lang.Throwable
-
setBorderStyle
public void setBorderStyle(BorderStyle BorderStyle) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, Win32Exception, InvalidOperationException, ObjectDisposedException, NotSupportedException, RankException, ArrayTypeMismatchException
- Overrides:
setBorderStyle
in classPanel
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
Win32Exception
InvalidOperationException
ObjectDisposedException
NotSupportedException
RankException
ArrayTypeMismatchException
-
getColumnStyles
public TableLayoutColumnStyleCollection getColumnStyles() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException
-
getControlsNewTableLayoutPanel
public TableLayoutControlCollection getControlsNewTableLayoutPanel() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, NotSupportedException, ArrayTypeMismatchException, InvalidCastException
-
getCellBorderStyle
public TableLayoutPanelCellBorderStyle getCellBorderStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCellBorderStyle
public void setCellBorderStyle(TableLayoutPanelCellBorderStyle CellBorderStyle) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException
-
getGrowStyle
public TableLayoutPanelGrowStyle getGrowStyle() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException
-
setGrowStyle
public void setGrowStyle(TableLayoutPanelGrowStyle GrowStyle) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException
-
getRowStyles
public TableLayoutRowStyleCollection getRowStyles() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException
-
getLayoutSettings
public TableLayoutSettings getLayoutSettings() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLayoutSettings
public void setLayoutSettings(TableLayoutSettings LayoutSettings) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException, InvalidOperationException, KeyNotFoundException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArrayTypeMismatchException
InvalidCastException
NotSupportedException
InvalidOperationException
KeyNotFoundException
OutOfMemoryException
CultureNotFoundException
-
addCellPaint
public void addCellPaint(TableLayoutCellPaintEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCellPaint
public void removeCellPaint(TableLayoutCellPaintEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-