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

java.lang.Object
  extended by com.panayotis.jubler.subs.style.preview.PreviewElement
Direct Known Subclasses:
PreviewBoolean, PreviewColor, PreviewFontname, PreviewFontsize, PreviewSingle

public abstract class PreviewElement
extends java.lang.Object


Constructor Summary
PreviewElement()
           
PreviewElement(java.lang.Object deflt, AbstractStyleover over)
           
 
Method Summary
 void addAttribute(java.text.AttributedString str, java.lang.Object value, int from, int to)
           
 int countStyleover()
           
 java.lang.Object getDefault()
           
 StyleoverEvent getEvent(int which)
           
protected abstract  java.text.AttributedCharacterIterator.Attribute getStyle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewElement

public PreviewElement()

PreviewElement

public PreviewElement(java.lang.Object deflt,
                      AbstractStyleover over)
Method Detail

getStyle

protected abstract java.text.AttributedCharacterIterator.Attribute getStyle()

getDefault

public java.lang.Object getDefault()

countStyleover

public int countStyleover()

getEvent

public StyleoverEvent getEvent(int which)

addAttribute

public void addAttribute(java.text.AttributedString str,
                         java.lang.Object value,
                         int from,
                         int to)