com.panayotis.jubler.subs.style.preview
Class PreviewSingle

java.lang.Object
  extended by com.panayotis.jubler.subs.style.preview.PreviewElement
      extended by com.panayotis.jubler.subs.style.preview.PreviewSingle

public class PreviewSingle
extends PreviewElement


Constructor Summary
PreviewSingle(java.lang.Object deflt, AbstractStyleover over)
          Creates a new instance of PreviewSingle
 
Method Summary
 void addAttribute(java.text.AttributedString str, java.lang.Object value, int from, int to)
           
protected  java.text.AttributedCharacterIterator.Attribute getStyle()
           
 
Methods inherited from class com.panayotis.jubler.subs.style.preview.PreviewElement
countStyleover, getDefault, getEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewSingle

public PreviewSingle(java.lang.Object deflt,
                     AbstractStyleover over)
Creates a new instance of PreviewSingle

Method Detail

getStyle

protected java.text.AttributedCharacterIterator.Attribute getStyle()
Specified by:
getStyle in class PreviewElement

addAttribute

public void addAttribute(java.text.AttributedString str,
                         java.lang.Object value,
                         int from,
                         int to)
Overrides:
addAttribute in class PreviewElement