Package system.windows.forms
Class ColumnHeader
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.ColumnHeader
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
public class ColumnHeader extends Component
The base .NET class managing System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ColumnHeader
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Windows.Formsstatic String
className
Qualified class name: System.Windows.Forms.ColumnHeaderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ColumnHeader()
ColumnHeader(int imageIndex)
ColumnHeader(Object instance)
Internal constructor.ColumnHeader(String imageKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AutoResize(ColumnHeaderAutoResizeStyle headerAutoResize)
static ColumnHeader
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoColumnHeader
, a cast assert is made to check if types are compatible.NetObject
Clone()
int
getDisplayIndex()
int
getImageIndex()
String
getImageKey()
ImageList
getImageList()
int
getIndex()
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 TypeListView
getListView()
String
getName()
NetObject
getTag()
String
getText()
HorizontalAlignment
getTextAlign()
int
getWidth()
void
setDisplayIndex(int DisplayIndex)
void
setImageIndex(int ImageIndex)
void
setImageKey(String ImageKey)
void
setJCOInstance(JCObject instance)
void
setListView(ListView ListView)
void
setName(String Name)
void
setTag(NetObject Tag)
void
setText(String Text)
void
setTextAlign(HorizontalAlignment TextAlign)
void
setWidth(int Width)
-
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, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Forms.ColumnHeader- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ColumnHeader
public ColumnHeader(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
ColumnHeader
public ColumnHeader(int imageIndex) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, Win32Exception, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, NotSupportedException
-
ColumnHeader
public ColumnHeader(String imageKey) throws Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, FormatException, Win32Exception, ObjectDisposedException, OutOfMemoryException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classComponent
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classComponent
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classComponent
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ColumnHeader cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoColumnHeader
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ColumnHeader
instance- Throws:
Throwable
- in case of error during cast operation
-
Clone
public NetObject Clone() throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidEnumArgumentException, Win32Exception, ObjectDisposedException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
InvalidEnumArgumentException
Win32Exception
ObjectDisposedException
OutOfMemoryException
-
AutoResize
public void AutoResize(ColumnHeaderAutoResizeStyle headerAutoResize) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, RankException, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
RankException
OutOfMemoryException
-
setDisplayIndex
public void setDisplayIndex(int DisplayIndex) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException
-
setImageIndex
public void setImageIndex(int ImageIndex) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, Win32Exception, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
setWidth
public void setWidth(int Width) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidEnumArgumentException, IndexOutOfRangeException
-
setImageKey
public void setImageKey(String ImageKey) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, Win32Exception, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
setText
public void setText(String Text) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, FormatException, Win32Exception, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
-
getTextAlign
public HorizontalAlignment getTextAlign() throws Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, FormatException, Win32Exception, ObjectDisposedException, OutOfMemoryException, NotSupportedException
-
setTextAlign
public void setTextAlign(HorizontalAlignment TextAlign) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, CultureNotFoundException, Win32Exception, ObjectDisposedException, OutOfMemoryException, NotSupportedException, RankException, ArrayTypeMismatchException, NullReferenceException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
CultureNotFoundException
Win32Exception
ObjectDisposedException
OutOfMemoryException
NotSupportedException
RankException
ArrayTypeMismatchException
NullReferenceException
-
-