insensa.view.dialogs.helper
Class DefaultOptionStyleFactory
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
title
private javax.swing.text.Style title
normal
private javax.swing.text.Style normal
context
private javax.swing.text.StyleContext context
DefaultOptionStyleFactory
public DefaultOptionStyleFactory()
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()