Class View
public class View : SwingConstants, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISwingConstants
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<SwingConstants>View
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<SwingConstants>.IsAssignableFrom(IJavaType)JVMBridgeBase<SwingConstants>.IsAssignableFrom<T>()JVMBridgeBase<SwingConstants>.Execute<T>(params T[])JVMBridgeBase<SwingConstants>.DynBridgeClazzJVMBridgeBase<SwingConstants>.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
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
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
BadBreakWeight
public static int BadBreakWeight { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Container
public Container Container { get; }
Property Value
Document
public Document Document { get; }
Property Value
Element
public Element Element { get; }
Property Value
EndOffset
public int EndOffset { get; }
Property Value
ExcellentBreakWeight
public static int ExcellentBreakWeight { get; }
Property Value
ForcedBreakWeight
public static int ForcedBreakWeight { get; }
Property Value
GoodBreakWeight
public static int GoodBreakWeight { get; }
Property Value
Graphics
public Graphics Graphics { 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
Parent
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/View.html#getParent() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/View.html#setParent(javax.swing.text.View)
public View Parent { get; set; }
Property Value
StartOffset
public int StartOffset { get; }
Property Value
ViewCount
public int ViewCount { get; }
Property Value
ViewFactory
public ViewFactory ViewFactory { get; }
Property Value
X_AXIS
public static int X_AXIS { get; }
Property Value
Y_AXIS
public static int Y_AXIS { get; }
Property Value
Methods
Append(View)
public void Append(View arg0)
Parameters
BreakView(int, int, float, float)
public View BreakView(int arg0, int arg1, float arg2, float arg3)
Parameters
Returns
ChangedUpdate(DocumentEvent, Shape, ViewFactory)
public void ChangedUpdate(DocumentEvent arg0, Shape arg1, ViewFactory arg2)
Parameters
arg0
DocumentEventarg1
Shapearg2
ViewFactory
CreateFragment(int, int)
public View CreateFragment(int arg0, int arg1)
Parameters
Returns
GetAlignment(int)
public float GetAlignment(int arg0)
Parameters
Returns
GetBreakWeight(int, float, float)
public int GetBreakWeight(int arg0, float arg1, float arg2)
Parameters
Returns
GetChildAllocation(int, Shape)
public Shape GetChildAllocation(int arg0, Shape arg1)
Parameters
Returns
GetMaximumSpan(int)
public float GetMaximumSpan(int arg0)
Parameters
Returns
GetMinimumSpan(int)
public float GetMinimumSpan(int arg0)
Parameters
Returns
GetNextVisualPositionFrom(int, Bias, Shape, int, Bias[])
public int GetNextVisualPositionFrom(int arg0, Position.Bias arg1, Shape arg2, int arg3, Position.Bias[] arg4)
Parameters
Returns
Exceptions
GetPreferredSpan(int)
public float GetPreferredSpan(int arg0)
Parameters
Returns
GetResizeWeight(int)
public int GetResizeWeight(int arg0)
Parameters
Returns
GetToolTipText(float, float, Shape)
public String GetToolTipText(float arg0, float arg1, Shape arg2)
Parameters
Returns
GetView(int)
public View GetView(int arg0)
Parameters
Returns
GetViewIndex(int, Bias)
public int GetViewIndex(int arg0, Position.Bias arg1)
Parameters
Returns
GetViewIndex(float, float, Shape)
public int GetViewIndex(float arg0, float arg1, Shape arg2)
Parameters
Returns
Insert(int, View)
public void Insert(int arg0, View arg1)
Parameters
InsertUpdate(DocumentEvent, Shape, ViewFactory)
public void InsertUpdate(DocumentEvent arg0, Shape arg1, ViewFactory arg2)
Parameters
arg0
DocumentEventarg1
Shapearg2
ViewFactory
IsVisible()
public bool IsVisible()
Returns
ModelToView(int, Shape, Bias)
public Shape ModelToView(int arg0, Shape arg1, Position.Bias arg2)
Parameters
Returns
Exceptions
ModelToView(int, Bias, int, Bias, Shape)
public Shape ModelToView(int arg0, Position.Bias arg1, int arg2, Position.Bias arg3, Shape arg4)
Parameters
Returns
Exceptions
Paint(Graphics, Shape)
public void Paint(Graphics arg0, Shape arg1)
Parameters
PreferenceChanged(View, bool, bool)
public void PreferenceChanged(View arg0, bool arg1, bool arg2)
Parameters
Remove(int)
public void Remove(int arg0)
Parameters
RemoveAll()
public void RemoveAll()
RemoveUpdate(DocumentEvent, Shape, ViewFactory)
public void RemoveUpdate(DocumentEvent arg0, Shape arg1, ViewFactory arg2)
Parameters
arg0
DocumentEventarg1
Shapearg2
ViewFactory
Replace(int, int, View[])
public void Replace(int arg0, int arg1, View[] arg2)
Parameters
SetSize(float, float)
public void SetSize(float arg0, float arg1)
Parameters
ViewToModel(float, float, Shape, Bias[])
public int ViewToModel(float arg0, float arg1, Shape arg2, Position.Bias[] arg3)