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 « LabelView »

Informations générales

Héritage

java.lang.Object
    javax.swing.text.View
        javax.swing.text.GlyphView
            javax.swing.text.LabelView

Définition

public class LabelView extends javax.swing.text.GlyphView
implements javax.swing.text.TabableView

Description

A venir.

Liste des attributs

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

Liste des constructeurs

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

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

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
protected Color background R/W
public Font font R/-
protected FontMetrics fontMetrics R/-
public Color foreground R/-
protected boolean strikeThrough R/W
protected boolean subscript R/W
protected boolean superscript R/W
protected boolean underline R/W

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

background, endOffset, font, foreground, glyphPainter, startOffset, strikeThrough, subscript, superscript, tabExpander, underline

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 void changedUpdate( DocumentEvent e, Shape a, ViewFactory f )
public Color getBackground()
public Font getFont()
protected FontMetrics getFontMetrics()
public Color getForeground()
public boolean isStrikeThrough()
public boolean isSubscript()
public boolean isSuperscript()
public boolean isUnderline()
protected void setBackground( Color bg )
protected void setPropertiesFromAttributes()
protected void setStrikeThrough( boolean s )
protected void setSubscript( boolean s )
protected void setSuperscript( boolean s )
protected void setUnderline( boolean u )

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

breakView, changedUpdate, checkPainter, clone, createFragment, getAlignment, getBackground, getBreakWeight, getEndOffset, getFont, getForeground, getGlyphPainter, getMinimumSpan, getNextVisualPositionFrom, getPartialSpan, getPreferredSpan, getStartOffset, getTabExpander, getTabbedSpan, getText, insertUpdate, isStrikeThrough, isSubscript, isSuperscript, isUnderline, modelToView, paint, removeUpdate, setGlyphPainter, 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