Table of Contents

Class View

Namespace
Javax.Swing.Text
Assembly
MASES.JNet.dll
public class View : SwingConstants, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISwingConstants
Inheritance
JVMBridgeBase
JVMBridgeBase<SwingConstants>
View
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<SwingConstants>.IsAssignableFrom(IJavaType)
JVMBridgeBase<SwingConstants>.IsAssignableFrom<T>()
JVMBridgeBase<SwingConstants>.Execute<T>(params T[])
JVMBridgeBase<SwingConstants>.DynBridgeClazz
JVMBridgeBase<SwingConstants>.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

View()

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

[Obsolete("View class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public View()

View(Element)

public View(Element arg0)

Parameters

arg0 Element

Element

View(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

[Obsolete("View class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public View(params object[] args)

Parameters

args object[]

Properties

Attributes

public AttributeSet Attributes { get; }

Property Value

AttributeSet

BadBreakWeight

public static int BadBreakWeight { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Container

public Container Container { get; }

Property Value

Container

Document

public Document Document { get; }

Property Value

Document

Element

public Element Element { get; }

Property Value

Element

EndOffset

public int EndOffset { get; }

Property Value

int

ExcellentBreakWeight

public static int ExcellentBreakWeight { get; }

Property Value

int

ForcedBreakWeight

public static int ForcedBreakWeight { get; }

Property Value

int

GoodBreakWeight

public static int GoodBreakWeight { get; }

Property Value

int

Graphics

public Graphics Graphics { get; }

Property Value

Graphics

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

Parent

public View Parent { get; set; }

Property Value

View

StartOffset

public int StartOffset { get; }

Property Value

int

ViewCount

public int ViewCount { get; }

Property Value

int

ViewFactory

public ViewFactory ViewFactory { get; }

Property Value

ViewFactory

X_AXIS

public static int X_AXIS { get; }

Property Value

int

Y_AXIS

public static int Y_AXIS { get; }

Property Value

int

Methods

Append(View)

public void Append(View arg0)

Parameters

arg0 View

View

BreakView(int, int, float, float)

public View BreakView(int arg0, int arg1, float arg2, float arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 float

float

arg3 float

float

Returns

View

View

ChangedUpdate(DocumentEvent, Shape, ViewFactory)

public void ChangedUpdate(DocumentEvent arg0, Shape arg1, ViewFactory arg2)

Parameters

arg0 DocumentEvent

DocumentEvent

arg1 Shape

Shape

arg2 ViewFactory

ViewFactory

CreateFragment(int, int)

public View CreateFragment(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

View

View

GetAlignment(int)

public float GetAlignment(int arg0)

Parameters

arg0 int

int

Returns

float

float

GetBreakWeight(int, float, float)

public int GetBreakWeight(int arg0, float arg1, float arg2)

Parameters

arg0 int

int

arg1 float

float

arg2 float

float

Returns

int

int

GetChildAllocation(int, Shape)

public Shape GetChildAllocation(int arg0, Shape arg1)

Parameters

arg0 int

int

arg1 Shape

Shape

Returns

Shape

Shape

GetMaximumSpan(int)

public float GetMaximumSpan(int arg0)

Parameters

arg0 int

int

Returns

float

float

GetMinimumSpan(int)

public float GetMinimumSpan(int arg0)

Parameters

arg0 int

int

Returns

float

float

GetNextVisualPositionFrom(int, Bias, Shape, int, Bias[])

public int GetNextVisualPositionFrom(int arg0, Position.Bias arg1, Shape arg2, int arg3, Position.Bias[] arg4)

Parameters

arg0 int

int

arg1 Position.Bias

Position.Bias

arg2 Shape

Shape

arg3 int

int

arg4 Bias[]

Position.Bias

Returns

int

int

Exceptions

BadLocationException

GetPreferredSpan(int)

public float GetPreferredSpan(int arg0)

Parameters

arg0 int

int

Returns

float

float

GetResizeWeight(int)

public int GetResizeWeight(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetToolTipText(float, float, Shape)

public String GetToolTipText(float arg0, float arg1, Shape arg2)

Parameters

arg0 float

float

arg1 float

float

arg2 Shape

Shape

Returns

String

String

GetView(int)

public View GetView(int arg0)

Parameters

arg0 int

int

Returns

View

View

GetViewIndex(int, Bias)

public int GetViewIndex(int arg0, Position.Bias arg1)

Parameters

arg0 int

int

arg1 Position.Bias

Position.Bias

Returns

int

int

GetViewIndex(float, float, Shape)

public int GetViewIndex(float arg0, float arg1, Shape arg2)

Parameters

arg0 float

float

arg1 float

float

arg2 Shape

Shape

Returns

int

int

Insert(int, View)

public void Insert(int arg0, View arg1)

Parameters

arg0 int

int

arg1 View

View

InsertUpdate(DocumentEvent, Shape, ViewFactory)

public void InsertUpdate(DocumentEvent arg0, Shape arg1, ViewFactory arg2)

Parameters

arg0 DocumentEvent

DocumentEvent

arg1 Shape

Shape

arg2 ViewFactory

ViewFactory

IsVisible()

public bool IsVisible()

Returns

bool

bool

ModelToView(int, Shape, Bias)

public Shape ModelToView(int arg0, Shape arg1, Position.Bias arg2)

Parameters

arg0 int

int

arg1 Shape

Shape

arg2 Position.Bias

Position.Bias

Returns

Shape

Shape

Exceptions

BadLocationException

ModelToView(int, Bias, int, Bias, Shape)

public Shape ModelToView(int arg0, Position.Bias arg1, int arg2, Position.Bias arg3, Shape arg4)

Parameters

arg0 int

int

arg1 Position.Bias

Position.Bias

arg2 int

int

arg3 Position.Bias

Position.Bias

arg4 Shape

Shape

Returns

Shape

Shape

Exceptions

BadLocationException

Paint(Graphics, Shape)

public void Paint(Graphics arg0, Shape arg1)

Parameters

arg0 Graphics

Graphics

arg1 Shape

Shape

PreferenceChanged(View, bool, bool)

public void PreferenceChanged(View arg0, bool arg1, bool arg2)

Parameters

arg0 View

View

arg1 bool

bool

arg2 bool

bool

Remove(int)

public void Remove(int arg0)

Parameters

arg0 int

int

RemoveAll()

public void RemoveAll()

RemoveUpdate(DocumentEvent, Shape, ViewFactory)

public void RemoveUpdate(DocumentEvent arg0, Shape arg1, ViewFactory arg2)

Parameters

arg0 DocumentEvent

DocumentEvent

arg1 Shape

Shape

arg2 ViewFactory

ViewFactory

Replace(int, int, View[])

public void Replace(int arg0, int arg1, View[] arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 View[]

View

SetSize(float, float)

public void SetSize(float arg0, float arg1)

Parameters

arg0 float

float

arg1 float

float

ViewToModel(float, float, Shape, Bias[])

public int ViewToModel(float arg0, float arg1, Shape arg2, Position.Bias[] arg3)

Parameters

arg0 float

float

arg1 float

float

arg2 Shape

Shape

arg3 Bias[]

Position.Bias

Returns

int

int