insensa.view.dialogs.helper
Class DefaultOptionStyleFactory

java.lang.Object
  extended by insensa.view.dialogs.helper.DefaultOptionStyleFactory

public class DefaultOptionStyleFactory
extends java.lang.Object


Field Summary
private  javax.swing.text.StyleContext context
           
private  javax.swing.text.Style normal
           
private  javax.swing.text.Style title
           
 
Constructor Summary
DefaultOptionStyleFactory()
           
 
Method Summary
 void addStyles(javax.swing.text.StyledDocument doc)
           
 javax.swing.text.StyleContext getContext()
           
 javax.swing.text.Style getNormalStyle()
           
 javax.swing.text.Style getTitleStyle()
           
private  void initStyles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

private javax.swing.text.Style title

normal

private javax.swing.text.Style normal

context

private javax.swing.text.StyleContext context
Constructor Detail

DefaultOptionStyleFactory

public DefaultOptionStyleFactory()
Method Detail

addStyles

public void addStyles(javax.swing.text.StyledDocument doc)
Parameters:
doc -

getContext

public javax.swing.text.StyleContext getContext()
Returns:

getNormalStyle

public javax.swing.text.Style getNormalStyle()
Returns:

getTitleStyle

public javax.swing.text.Style getTitleStyle()
Returns:

initStyles

private void initStyles()