Table of Contents

Class StyleSheet

Namespace
Javax.Swing.Text.Html
Assembly
MASES.JNet.dll
public class StyleSheet : StyleContext, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<StyleContext>
StyleSheet
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<StyleContext>.IsAssignableFrom(IJavaType)
JVMBridgeBase<StyleContext>.IsAssignableFrom<T>()
JVMBridgeBase<StyleContext>.Execute<T>(params T[])
JVMBridgeBase<StyleContext>.DynBridgeClazz
JVMBridgeBase<StyleContext>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

StyleSheet()

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

public StyleSheet()

StyleSheet(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 StyleSheet(params object[] args)

Parameters

args object[]

Properties

Base

public URL Base { get; set; }

Property Value

URL

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

StyleSheets

public StyleSheet[] StyleSheets { get; }

Property Value

StyleSheet[]

Methods

AddCSSAttribute(MutableAttributeSet, Attribute, String)

public void AddCSSAttribute(MutableAttributeSet arg0, CSS.Attribute arg1, String arg2)

Parameters

arg0 MutableAttributeSet

MutableAttributeSet

arg1 CSS.Attribute

CSS.Attribute

arg2 String

String

AddCSSAttributeFromHTML(MutableAttributeSet, Attribute, String)

public bool AddCSSAttributeFromHTML(MutableAttributeSet arg0, CSS.Attribute arg1, String arg2)

Parameters

arg0 MutableAttributeSet

MutableAttributeSet

arg1 CSS.Attribute

CSS.Attribute

arg2 String

String

Returns

bool

bool

AddRule(String)

public void AddRule(String arg0)

Parameters

arg0 String

String

AddStyleSheet(StyleSheet)

public void AddStyleSheet(StyleSheet arg0)

Parameters

arg0 StyleSheet

StyleSheet

GetBoxPainter(AttributeSet)

public StyleSheet.BoxPainter GetBoxPainter(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

StyleSheet.BoxPainter

StyleSheet.BoxPainter

GetDeclaration(String)

public AttributeSet GetDeclaration(String arg0)

Parameters

arg0 String

String

Returns

AttributeSet

AttributeSet

GetIndexOfSize(float)

public static int GetIndexOfSize(float arg0)

Parameters

arg0 float

float

Returns

int

int

GetListPainter(AttributeSet)

public StyleSheet.ListPainter GetListPainter(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

StyleSheet.ListPainter

StyleSheet.ListPainter

GetPointSize(String)

public float GetPointSize(String arg0)

Parameters

arg0 String

String

Returns

float

float

GetPointSize(int)

public float GetPointSize(int arg0)

Parameters

arg0 int

int

Returns

float

float

GetRule(String)

public Style GetRule(String arg0)

Parameters

arg0 String

String

Returns

Style

Style

GetRule(Tag, Element)

public Style GetRule(HTML.Tag arg0, Element arg1)

Parameters

arg0 HTML.Tag

HTML.Tag

arg1 Element

Element

Returns

Style

Style

GetViewAttributes(View)

public AttributeSet GetViewAttributes(View arg0)

Parameters

arg0 View

View

Returns

AttributeSet

AttributeSet

ImportStyleSheet(URL)

public void ImportStyleSheet(URL arg0)

Parameters

arg0 URL

URL

LoadRules(Reader, URL)

public void LoadRules(Reader arg0, URL arg1)

Parameters

arg0 Reader

Reader

arg1 URL

URL

Exceptions

IOException

RemoveStyleSheet(StyleSheet)

public void RemoveStyleSheet(StyleSheet arg0)

Parameters

arg0 StyleSheet

StyleSheet

SetBaseFontSize(String)

public void SetBaseFontSize(String arg0)

Parameters

arg0 String

String

SetBaseFontSize(int)

public void SetBaseFontSize(int arg0)

Parameters

arg0 int

int

StringToColor(String)

public Color StringToColor(String arg0)

Parameters

arg0 String

String

Returns

Color

Color

TranslateHTMLToCSS(AttributeSet)

public AttributeSet TranslateHTMLToCSS(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

AttributeSet

AttributeSet