Table of Contents

Class StyleContext.NamedStyle

Namespace
Javax.Swing.Text
Assembly
MASES.JNet.dll
public class StyleContext.NamedStyle : JVMBridgeBase<StyleContext.NamedStyle>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
StyleContext.NamedStyle
Implements
Inherited Members
Extension Methods

Constructors

NamedStyle()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public NamedStyle()

NamedStyle(StyleContext)

public NamedStyle(StyleContext arg0)

Parameters

arg0 StyleContext

StyleContext

NamedStyle(StyleContext, String, Style)

public NamedStyle(StyleContext arg0, String arg1, Style arg2)

Parameters

arg0 StyleContext

StyleContext

arg1 String

String

arg2 Style

Style

NamedStyle(StyleContext, Style)

public NamedStyle(StyleContext arg0, Style arg1)

Parameters

arg0 StyleContext

StyleContext

arg1 Style

Style

NamedStyle(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public NamedStyle(params object[] args)

Parameters

args object[]

Properties

AttributeCount

public int AttributeCount { get; }

Property Value

int

AttributeNames

public Enumeration<object> AttributeNames { get; }

Property Value

Enumeration<object>

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

ChangeListeners

public ChangeListener[] ChangeListeners { get; }

Property Value

ChangeListener[]

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Name

public String Name { get; set; }

Property Value

String

ResolveParent

public AttributeSet ResolveParent { get; set; }

Property Value

AttributeSet

Methods

AddAttribute(object, object)

public void AddAttribute(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

AddAttributes(AttributeSet)

public void AddAttributes(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

AddChangeListener(ChangeListener)

public void AddChangeListener(ChangeListener arg0)

Parameters

arg0 ChangeListener

ChangeListener

ContainsAttribute(object, object)

public bool ContainsAttribute(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

bool

bool

ContainsAttributes(AttributeSet)

public bool ContainsAttributes(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

bool

bool

CopyAttributes()

public AttributeSet CopyAttributes()

Returns

AttributeSet

AttributeSet

GetAttribute(object)

public object GetAttribute(object arg0)

Parameters

arg0 object

object

Returns

object

object

GetListeners<T>(Class)

public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IEventListener

IsDefined(object)

public bool IsDefined(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

IsEqual(AttributeSet)

public bool IsEqual(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

bool

bool

RemoveAttribute(object)

public void RemoveAttribute(object arg0)

Parameters

arg0 object

object

RemoveAttributes(Enumeration<object>)

public void RemoveAttributes(Enumeration<object> arg0)

Parameters

arg0 Enumeration<object>

Enumeration

RemoveAttributes(AttributeSet)

public void RemoveAttributes(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

RemoveChangeListener(ChangeListener)

public void RemoveChangeListener(ChangeListener arg0)

Parameters

arg0 ChangeListener

ChangeListener

Operators

implicit operator Serializable(NamedStyle)

public static implicit operator Serializable(StyleContext.NamedStyle t)

Parameters

t StyleContext.NamedStyle

Returns

Serializable

implicit operator Style(NamedStyle)

Converter from StyleContext.NamedStyle to Style

public static implicit operator Style(StyleContext.NamedStyle t)

Parameters

t StyleContext.NamedStyle

Returns

Style