Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.desktop - Package : javax.swing.text
Version documentée : Java SE 17

Classe « ParagraphView »

Informations générales

Héritage

java.lang.Object
    javax.swing.text.View
        javax.swing.text.CompositeView
            javax.swing.text.BoxView
                javax.swing.text.FlowView
                    javax.swing.text.ParagraphView

Définition

public class ParagraphView extends javax.swing.text.FlowView
implements javax.swing.text.TabExpander

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
protected int firstLineIndent

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
ParagraphView( Element elem )

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
protected float firstLineIndent -/W
protected int justification -/W
protected int layoutViewCount R/-
protected float lineSpacing -/W
protected float tabBase R/-
protected TabSet tabSet R/-

Propriétés héritées de la classe javax.swing.text.FlowView

flowAxis, parent

Propriétés héritées de la classe javax.swing.text.BoxView

allocationValid, axis, height, width

Propriétés héritées de la classe javax.swing.text.CompositeView

bottomInset, leftInset, paragraphInsets, parent, rightInset, topInset, viewCount

Propriétés héritées de la classe javax.swing.text.View

attributes, container, document, element, endOffset, graphics, parent, startOffset, viewCount, viewFactory, visible

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public View breakView( int axis, float len, Shape a )
protected SizeRequirements calculateMinorAxisRequirements( int axis, SizeRequirements r )
public void changedUpdate( DocumentEvent changes, Shape a, ViewFactory f )
protected View createRow()
protected int findOffsetToCharactersInString( char[] string, int start )
protected boolean flipEastAndWestAtEnds( int position, Bias bias )
public float getAlignment( int axis )
public int getBreakWeight( int axis, float len )
protected int getClosestPositionTo( int pos, Bias b, Shape a, int direction, Bias[] biasRet, int rowIndex, int x )
public int getFlowSpan( int index )
public int getFlowStart( int index )
protected View getLayoutView( int index )
protected int getLayoutViewCount()
protected int getNextNorthSouthVisualPositionFrom( int pos, Bias b, Shape a, int direction, Bias[] biasRet )
protected float getPartialSize( int startOffset, int endOffset )
protected float getTabBase()
protected TabSet getTabSet()
public float nextTabStop( float x, int tabOffset )
public void paint( Graphics g, Shape a )
protected void setFirstLineIndent( float fi )
protected void setJustification( int j )
protected void setLineSpacing( float ls )
protected void setPropertiesFromAttributes()

Méthodes héritées de la classe javax.swing.text.FlowView

calculateMinorAxisRequirements, changedUpdate, createRow, getFlowAxis, getFlowSpan, getFlowStart, getViewIndexAtPosition, insertUpdate, layout, loadChildren, removeUpdate, setParent

Méthodes héritées de la classe javax.swing.text.BoxView

baselineLayout, baselineRequirements, calculateMajorAxisRequirements, calculateMinorAxisRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAlignment, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getResizeWeight, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, layoutMajorAxis, layoutMinorAxis, modelToView, paint, paintChild, preferenceChanged, replace, setAxis, setSize, viewToModel

Méthodes héritées de la classe javax.swing.text.CompositeView

childAllocation, flipEastAndWestAtEnds, getBottomInset, getChildAllocation, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPoint, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, isAfter, isBefore, loadChildren, modelToView, modelToView, replace, setInsets, setParagraphInsets, setParent, viewToModel

Méthodes héritées de la classe javax.swing.text.View

append, breakView, changedUpdate, createFragment, forwardUpdate, forwardUpdateToView, getAlignment, getAttributes, getBreakWeight, getChildAllocation, getContainer, getDocument, getElement, getEndOffset, getGraphics, getMaximumSpan, getMinimumSpan, getNextVisualPositionFrom, getParent, getPreferredSpan, getResizeWeight, getStartOffset, getToolTipText, getView, getViewCount, getViewFactory, getViewIndex, getViewIndex, insert, insertUpdate, isVisible, modelToView, modelToView, modelToView, paint, preferenceChanged, remove, removeAll, removeUpdate, replace, setParent, setSize, updateChildren, updateLayout, viewToModel, viewToModel

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait