Class StyleContext
public class StyleContext : JVMBridgeBase<StyleContext>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<StyleContext>StyleContext
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<StyleContext>.IsAssignableFrom(IJavaType)JVMBridgeBase<StyleContext>.IsAssignableFrom<T>()JVMBridgeBase<StyleContext>.Execute<T>(params T[])JVMBridgeBase<StyleContext>.DynBridgeClazzJVMBridgeBase<StyleContext>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
StyleContext()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public StyleContext()
StyleContext(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 StyleContext(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ChangeListeners
public ChangeListener[] ChangeListeners { get; }
Property Value
DEFAULT_STYLE
public static String DEFAULT_STYLE { get; }
Property Value
DefaultStyleContext
public static StyleContext DefaultStyleContext { get; }
Property Value
EmptySet
public AttributeSet EmptySet { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
StyleNames
public Enumeration<object> StyleNames { get; }
Property Value
Methods
AddAttribute(AttributeSet, object, object)
public AttributeSet AddAttribute(AttributeSet arg0, object arg1, object arg2)
Parameters
arg0
AttributeSetarg1
objectarg2
object
Returns
AddAttributes(AttributeSet, AttributeSet)
public AttributeSet AddAttributes(AttributeSet arg0, AttributeSet arg1)
Parameters
arg0
AttributeSetarg1
AttributeSet
Returns
AddChangeListener(ChangeListener)
public void AddChangeListener(ChangeListener arg0)
Parameters
AddStyle(String, Style)
public Style AddStyle(String arg0, Style arg1)
Parameters
Returns
GetBackground(AttributeSet)
public Color GetBackground(AttributeSet arg0)
Parameters
arg0
AttributeSet
Returns
GetFont(String, int, int)
public Font GetFont(String arg0, int arg1, int arg2)
Parameters
Returns
GetFont(AttributeSet)
public Font GetFont(AttributeSet arg0)
Parameters
arg0
AttributeSet
Returns
GetFontMetrics(Font)
public FontMetrics GetFontMetrics(Font arg0)
Parameters
Returns
GetForeground(AttributeSet)
public Color GetForeground(AttributeSet arg0)
Parameters
arg0
AttributeSet
Returns
GetStaticAttribute(object)
public static object GetStaticAttribute(object arg0)
Parameters
Returns
GetStaticAttributeKey(object)
public static object GetStaticAttributeKey(object arg0)
Parameters
Returns
GetStyle(String)
public Style GetStyle(String arg0)
Parameters
Returns
ReadAttributeSet(ObjectInputStream, MutableAttributeSet)
public static void ReadAttributeSet(ObjectInputStream arg0, MutableAttributeSet arg1)
Parameters
Exceptions
ReadAttributes(ObjectInputStream, MutableAttributeSet)
public void ReadAttributes(ObjectInputStream arg0, MutableAttributeSet arg1)
Parameters
Exceptions
Reclaim(AttributeSet)
public void Reclaim(AttributeSet arg0)
Parameters
arg0
AttributeSet
RegisterStaticAttributeKey(object)
public static void RegisterStaticAttributeKey(object arg0)
Parameters
RemoveAttribute(AttributeSet, object)
public AttributeSet RemoveAttribute(AttributeSet arg0, object arg1)
Parameters
arg0
AttributeSetarg1
object
Returns
RemoveAttributes(AttributeSet, Enumeration<object>)
public AttributeSet RemoveAttributes(AttributeSet arg0, Enumeration<object> arg1)
Parameters
arg0
AttributeSetarg1
Enumeration<object>
Returns
RemoveAttributes(AttributeSet, AttributeSet)
public AttributeSet RemoveAttributes(AttributeSet arg0, AttributeSet arg1)
Parameters
arg0
AttributeSetarg1
AttributeSet
Returns
RemoveChangeListener(ChangeListener)
public void RemoveChangeListener(ChangeListener arg0)
Parameters
RemoveStyle(String)
public void RemoveStyle(String arg0)
Parameters
WriteAttributeSet(ObjectOutputStream, AttributeSet)
public static void WriteAttributeSet(ObjectOutputStream arg0, AttributeSet arg1)
Parameters
Exceptions
WriteAttributes(ObjectOutputStream, AttributeSet)
public void WriteAttributes(ObjectOutputStream arg0, AttributeSet arg1)
Parameters
Exceptions
Operators
implicit operator Serializable(StyleContext)
Converter from StyleContext to Serializable
public static implicit operator Serializable(StyleContext t)