Module :
java.desktop - Package :
javax.swing.text
Version documentée : Java SE 17
Classe « GlyphView »
Informations générales
Héritage
java.lang.Object
javax.swing.text.View
javax.swing.text.GlyphView
Interfaces implémentées
java.lang.Cloneable
javax.swing.text.TabableView
Définition
public class GlyphView extends javax.swing.text.View
implements java.lang.Cloneable,
javax.swing.text.TabableView
Description
A venir.
Liste des attributs
Tous les attributs
Attributs d'instance
Attributs statiques
Attributs dépréciés
Liste des constructeurs
Constructeurs
Constructeurs dépréciés
Liste des propriétés (getters/setters)
Propriétés
Propriétés dépréciées
public |
Color |
background |
R/- |
public |
int |
endOffset |
R/- |
public |
Font |
font |
R/- |
public |
Color |
foreground |
R/- |
public |
GlyphPainter |
glyphPainter |
R/W |
public |
int |
startOffset |
R/- |
public |
boolean |
strikeThrough |
R/- |
public |
boolean |
subscript |
R/- |
public |
boolean |
superscript |
R/- |
public |
TabExpander |
tabExpander |
R/- |
public |
boolean |
underline |
R/- |
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
public |
View |
breakView( int axis, int p0, float pos, float len ) |
|
public |
void |
changedUpdate( DocumentEvent e, Shape a, ViewFactory f ) |
|
protected |
void |
checkPainter() |
|
protected |
Object |
clone() |
|
public |
View |
createFragment( int p0, int p1 ) |
|
public |
float |
getAlignment( int axis ) |
|
public |
Color |
getBackground() |
|
public |
int |
getBreakWeight( int axis, float pos, float len ) |
|
public |
int |
getEndOffset() |
|
public |
Font |
getFont() |
|
public |
Color |
getForeground() |
|
public |
GlyphPainter |
getGlyphPainter() |
|
public |
float |
getMinimumSpan( int axis ) |
|
public |
int |
getNextVisualPositionFrom( int pos, Bias b, Shape a, int direction, Bias[] biasRet ) |
|
public |
float |
getPartialSpan( int p0, int p1 ) |
|
public |
float |
getPreferredSpan( int axis ) |
|
public |
int |
getStartOffset() |
|
public |
float |
getTabbedSpan( float x, TabExpander e ) |
|
public |
TabExpander |
getTabExpander() |
|
public |
Segment |
getText( int p0, int p1 ) |
|
public |
void |
insertUpdate( DocumentEvent e, Shape a, ViewFactory f ) |
|
public |
boolean |
isStrikeThrough() |
|
public |
boolean |
isSubscript() |
|
public |
boolean |
isSuperscript() |
|
public |
boolean |
isUnderline() |
|
public |
Shape |
modelToView( int pos, Shape a, Bias b ) |
|
public |
void |
paint( Graphics g, Shape a ) |
|
public |
void |
removeUpdate( DocumentEvent e, Shape a, ViewFactory f ) |
|
public |
void |
setGlyphPainter( GlyphPainter p ) |
|
public |
int |
viewToModel( float x, float y, Shape a, Bias[] biasReturn ) |
|
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
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 :