public class ColumnHeader extends Component
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.ColumnHeader
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.ColumnHeader
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ColumnHeader()
Initializes a new instance by invoking the .NET constructor.
|
ColumnHeader(int imageIndex)
Initializes a new instance by invoking the .NET constructor.
|
ColumnHeader(java.lang.Object instance)
Internal constructor.
|
ColumnHeader(java.lang.String imageKey)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AutoResize(ColumnHeaderAutoResizeStyle headerAutoResize)
Invokes the .NET member AutoResize.
|
static ColumnHeader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ColumnHeader, a cast assert is made to check if types are compatible. |
NetObject |
Clone()
Invokes the .NET member Clone.
|
int |
getDisplayIndex()
Gets the value of the .NET property DisplayIndex.
|
int |
getImageIndex()
Gets the value of the .NET property ImageIndex.
|
java.lang.String |
getImageKey()
Gets the value of the .NET property ImageKey.
|
ImageList |
getImageList()
Gets the value of the .NET property ImageList.
|
int |
getIndex()
Gets the value of the .NET property Index.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
ListView |
getListView()
Gets the value of the .NET property ListView.
|
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
NetObject |
getTag()
Gets the value of the .NET property Tag.
|
java.lang.String |
getText()
Gets the value of the .NET property Text.
|
HorizontalAlignment |
getTextAlign()
Gets the value of the .NET property TextAlign.
|
int |
getWidth()
Gets the value of the .NET property Width.
|
void |
setDisplayIndex(int DisplayIndex)
Sets the value of the .NET property DisplayIndex.
|
void |
setImageIndex(int ImageIndex)
Sets the value of the .NET property ImageIndex.
|
void |
setImageKey(java.lang.String ImageKey)
Sets the value of the .NET property ImageKey.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setListView(ListView ListView)
Sets the value of the .NET property ListView.
|
void |
setName(java.lang.String Name)
Sets the value of the .NET property Name.
|
void |
setTag(NetObject Tag)
Sets the value of the .NET property Tag.
|
void |
setText(java.lang.String Text)
Sets the value of the .NET property Text.
|
void |
setTextAlign(HorizontalAlignment TextAlign)
Sets the value of the .NET property TextAlign.
|
void |
setWidth(int Width)
Sets the value of the .NET property Width.
|
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ColumnHeader()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic ColumnHeader(int imageIndex)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
Win32Exception,
OutOfMemoryException,
NotSupportedException
imageIndex - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic ColumnHeader(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic ColumnHeader(java.lang.String imageKey)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
InvalidOperationException,
FormatException,
Win32Exception,
OutOfMemoryException
imageKey - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void AutoResize(ColumnHeaderAutoResizeStyle headerAutoResize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ObjectDisposedException, OutOfMemoryException, Win32Exception, NotSupportedException, RankException
headerAutoResize - the argument of type ColumnHeaderAutoResizeStylejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itpublic static ColumnHeader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ColumnHeader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedColumnHeader instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidEnumArgumentException, InvalidOperationException, IndexOutOfRangeException, Win32Exception, ObjectDisposedException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic int getDisplayIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getImageIndex()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic java.lang.String getImageKey()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ImageList getImageList() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Componentpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Componentpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Componentnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Componentpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Componentpublic ListView getListView() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getTag() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getText()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HorizontalAlignment getTextAlign() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, ObjectDisposedException, FormatException, Win32Exception, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic int getWidth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDisplayIndex(int DisplayIndex)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
DisplayIndex - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setImageIndex(int ImageIndex)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
NotSupportedException,
RankException,
ArrayTypeMismatchException
ImageIndex - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setImageKey(java.lang.String ImageKey)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
CultureNotFoundException,
OutOfMemoryException,
ArgumentOutOfRangeException,
FormatException,
Win32Exception,
ObjectDisposedException
ImageKey - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Componentinstance - the new underlying objectpublic void setListView(ListView ListView) throws java.lang.Throwable
ListView - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setName(java.lang.String Name)
throws java.lang.Throwable
Name - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTag(NetObject Tag) throws java.lang.Throwable
Tag - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setText(java.lang.String Text)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
ArgumentException,
ObjectDisposedException,
Win32Exception,
PlatformNotSupportedException,
NotSupportedException,
RankException,
ArrayTypeMismatchException
Text - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setTextAlign(HorizontalAlignment TextAlign) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, CultureNotFoundException, OutOfMemoryException, Win32Exception, ObjectDisposedException, NotSupportedException, RankException, ArrayTypeMismatchException
TextAlign - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setWidth(int Width)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidEnumArgumentException,
OutOfMemoryException
Width - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises it