net.ranides.assira.text.format
Class AnsiFontMap

java.lang.Object
  extended by net.ranides.assira.text.format.AnsiFontScheme
      extended by net.ranides.assira.text.format.AnsiFontMap
All Implemented Interfaces:
Serializable

public class AnsiFontMap
extends AnsiFontScheme
implements Serializable

Author:
ranides
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.ranides.assira.text.format.AnsiFontScheme
AnsiFontScheme.FontAttr
 
Field Summary
 
Fields inherited from class net.ranides.assira.text.format.AnsiFontScheme
EMPTY
 
Constructor Summary
AnsiFontMap()
           
AnsiFontMap(AnsiFontScheme scheme)
           
 
Method Summary
 Font getFont(int index)
          Zwraca czcionkę o podanym indeksie.
 void setFont(int index, Font value)
          Ustawia czcionkę o podanym indeksie.
 Collection<AnsiFontScheme.FontAttr> values()
          Zwraca kolekcję wszystkich czcionek zapisanych w schemacie.
 
Methods inherited from class net.ranides.assira.text.format.AnsiFontScheme
copy, getFont, make, make, make, setFont
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnsiFontMap

public AnsiFontMap()

AnsiFontMap

public AnsiFontMap(AnsiFontScheme scheme)
Method Detail

values

public Collection<AnsiFontScheme.FontAttr> values()
Description copied from class: AnsiFontScheme
Zwraca kolekcję wszystkich czcionek zapisanych w schemacie.

Specified by:
values in class AnsiFontScheme
Returns:

getFont

public Font getFont(int index)
Description copied from class: AnsiFontScheme
Zwraca czcionkę o podanym indeksie.

Specified by:
getFont in class AnsiFontScheme
Returns:

setFont

public void setFont(int index,
                    Font value)
Description copied from class: AnsiFontScheme
Ustawia czcionkę o podanym indeksie.

Specified by:
setFont in class AnsiFontScheme


Copyright © 2013. All Rights Reserved.