argutia.gui
Class StyledMessageFormat

java.lang.Object
  extended by argutia.gui.StyledMessageFormat
public class StyledMessageFormat
extends Object
Field Summary
private AffichableAvecStyle[] arguments
           
private List<Object> composition
           
private BatchStyledDocument doc
           
private AttributeSet style
           
 
Constructor Summary
StyledMessageFormat(String[] patterns, AttributeSet style, BatchStyledDocument doc, AffichableAvecStyle... arguments)
           
StyledMessageFormat(String pattern, AttributeSet style, BatchStyledDocument doc)
           
StyledMessageFormat(String pattern, AttributeSet style, BatchStyledDocument doc, AffichableAvecStyle... arguments)
           
 
Method Summary
private void calculerComposition(String[] patterns)
           
 void format()
           
static void format(String[] patterns, AttributeSet style, BatchStyledDocument doc, AffichableAvecStyle... arguments)
           
static void format(String pattern, AttributeSet style, BatchStyledDocument doc)
           
static void format(String pattern, AttributeSet style, BatchStyledDocument doc, AffichableAvecStyle... arguments)
           
 void insert(String[] patterns, AttributeSet style, BatchStyledDocument doc, AffichableAvecStyle... arguments)
           
 void insert(String pattern, AttributeSet style, BatchStyledDocument doc)
           
 void insert(String pattern, AttributeSet style, BatchStyledDocument doc, AffichableAvecStyle... arguments)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Field Detail

arguments

private AffichableAvecStyle[] arguments

composition

private List<Object> composition

doc

private BatchStyledDocument doc

style

private AttributeSet style
Constructor Detail

StyledMessageFormat

public StyledMessageFormat(String pattern,
                           AttributeSet style,
                           BatchStyledDocument doc)

StyledMessageFormat

public StyledMessageFormat(String pattern,
                           AttributeSet style,
                           BatchStyledDocument doc,
                           AffichableAvecStyle... arguments)

StyledMessageFormat

public StyledMessageFormat(String[] patterns,
                           AttributeSet style,
                           BatchStyledDocument doc,
                           AffichableAvecStyle... arguments)
Method Detail

format

public static void format(String pattern,
                          AttributeSet style,
                          BatchStyledDocument doc)

format

public static void format(String pattern,
                          AttributeSet style,
                          BatchStyledDocument doc,
                          AffichableAvecStyle... arguments)

format

public static void format(String[] patterns,
                          AttributeSet style,
                          BatchStyledDocument doc,
                          AffichableAvecStyle... arguments)

calculerComposition

private void calculerComposition(String[] patterns)
                          throws IllegalArgumentException
Throws:
IllegalArgumentException

format

public void format()

toString

public String toString()
Overrides:
toString in class Object

insert

public void insert(String pattern,
                   AttributeSet style,
                   BatchStyledDocument doc)

insert

public void insert(String pattern,
                   AttributeSet style,
                   BatchStyledDocument doc,
                   AffichableAvecStyle... arguments)

insert

public void insert(String[] patterns,
                   AttributeSet style,
                   BatchStyledDocument doc,
                   AffichableAvecStyle... arguments)
Argutia JavaDoc
23 décembre 2007