Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
javax.swing.text.html

Class CSS

  • All Implemented Interfaces:
    Serializable

    public class CSS
    extends Object
    implements Serializable
    Defines a set of CSS attributes as a typesafe enumeration. The HTML View implementations use CSS attributes to determine how they will render. This also defines methods to map between CSS/HTML/StyleConstants. Any shorthand properties, such as font, are mapped to the intrinsic properties.

    The following describes the CSS properties that are suppored by the rendering engine:

    • font-family
    • font-style
    • font-size (supports relative units)
    • font-weight
    • font
    • color
    • background-color (with the exception of transparent)
    • background-image
    • background-repeat
    • background-position
    • background
    • text-decoration (with the exception of blink and overline)
    • vertical-align (only sup and super)
    • text-align (justify is treated as center)
    • margin-top
    • margin-right
    • margin-bottom
    • margin-left
    • margin
    • padding-top
    • padding-right
    • padding-bottom
    • padding-left
    • padding
    • border-top-style
    • border-right-style
    • border-bottom-style
    • border-left-style
    • border-style (only supports inset, outset and none)
    • border-top-color
    • border-right-color
    • border-bottom-color
    • border-left-color
    • border-color
    • list-style-image
    • list-style-type
    • list-style-position
    The following are modeled, but currently not rendered.
    • font-variant
    • background-attachment (background always treated as scroll)
    • word-spacing
    • letter-spacing
    • text-indent
    • text-transform
    • line-height
    • border-top-width (this is used to indicate if a border should be used)
    • border-right-width
    • border-bottom-width
    • border-left-width
    • border-width
    • border-top
    • border-right
    • border-bottom
    • border-left
    • border
    • width
    • height
    • float
    • clear
    • display
    • white-space
    • list-style

    Note: for the time being we do not fully support relative units, unless noted, so that p { margin-top: 10% } will be treated as if no margin-top was specified.

    See Also:
    StyleSheet
    • Constructor Detail

      • CSS

        public CSS()
    • Method Detail

      • getAllAttributeKeys

        public static CSS.Attribute[] getAllAttributeKeys()
        Return the set of all possible CSS attribute keys.
      • getAttribute

        public static final CSS.Attribute getAttribute(String name)
        Translates a string to a CSS.Attribute object. This will return null if there is no attribute by the given name.
        Parameters:
        name - the name of the CSS attribute to fetch the typesafe enumeration for
        Returns:
        the CSS.Attribute object, or null if the string doesn't represent a valid attribute key

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/swing/text/html/css.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut