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.accessibility

Class AccessibleRelationSet


  • public class AccessibleRelationSet
    extends Object
    Class AccessibleRelationSet determines a component's relation set. The relation set of a component is a set of AccessibleRelation objects that describe the component's relationships with other components.
    Since:
    1.3
    See Also:
    AccessibleRelation
    • Constructor Detail
      • AccessibleRelationSet
        public AccessibleRelationSet()
        Creates a new empty relation set.
      • AccessibleRelationSet
        public AccessibleRelationSet(AccessibleRelation[] relations)
        Creates a new relation with the initial set of relations contained in the array of relations passed in. Duplicate entries are ignored.
        Parameters:
        relations - an array of AccessibleRelation describing the relation set.
    • Method Detail
      • add
        public boolean add(AccessibleRelation relation)
        Adds a new relation to the current relation set. If the relation is already in the relation set, the target(s) of the specified relation is merged with the target(s) of the existing relation. Otherwise, the new relation is added to the relation set.
        Parameters:
        relation - the relation to add to the relation set
        Returns:
        true if relation is added to the relation set; false if the relation set is unchanged
      • addAll
        public void addAll(AccessibleRelation[] relations)
        Adds all of the relations to the existing relation set. Duplicate entries are ignored.
        Parameters:
        relations - AccessibleRelation array describing the relation set.
      • remove
        public boolean remove(AccessibleRelation relation)
        Removes a relation from the current relation set. If the relation is not in the set, the relation set will be unchanged and the return value will be false. If the relation is in the relation set, it will be removed from the set and the return value will be true.
        Parameters:
        relation - the relation to remove from the relation set
        Returns:
        true if the relation is in the relation set; false if the relation set is unchanged
      • clear
        public void clear()
        Removes all the relations from the current relation set.
      • size
        public int size()
        Returns the number of relations in the relation set.
      • contains
        public boolean contains(String key)
        Returns whether the relation set contains a relation that matches the specified key.
        Parameters:
        key - the AccessibleRelation key
        Returns:
        true if the relation is in the relation set; otherwise false
      • get
        public AccessibleRelation get(String key)
        Returns the relation that matches the specified key.
        Parameters:
        key - the AccessibleRelation key
        Returns:
        the relation, if one exists, that matches the specified key. Otherwise, null is returned.
      • toArray
        public AccessibleRelation[] toArray()
        Returns the current relation set as an array of AccessibleRelation
        Returns:
        AccessibleRelation array contacting the current relation.

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/accessibility/accessiblerelationset.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