Package hipp.com.wappedidpadpro2
Class DoLayout
java.lang.Object
hipp.com.wappedidpadpro2.DoLayout
public class DoLayout
extends java.lang.Object
DoLayout
constructs the layout to add to javax.swing.JFrame.getContextPane()
constructs the layout to add to javax.swing.JFrame.getContextPane()
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DoLayout.Paragraph
Paragraph
Inner class used to define paragraph structurestatic class
DoLayout.Run
Inner class used to define paragraph structure -
Field Summary
Fields Modifier and Type Field Description java.util.ResourceBundle
bundle
private javax.swing.JComboBox<java.lang.String>
cFontNames
private javax.swing.JComboBox<java.lang.String>
cFontSizes
static java.lang.String
charStyleName
static DoLayout.Paragraph[]
content
private WappProTextPane
jTxtP
java.util.Locale
locale
java.lang.String
mainStyleName
private javax.swing.JProgressBar
progressBar
static javax.swing.JMenuItem
redo
private WAppEditpadPro2
theApp
static javax.swing.JMenuItem
undo
-
Constructor Summary
Constructors Constructor Description DoLayout(WAppEditpadPro2 _theApp, java.util.ResourceBundle _bundle)
construct the layout to add to javax.swing.JFrame.getContextPane() -
Method Summary
Modifier and Type Method Description void
createDocumentStyles(javax.swing.text.StyleContext sc)
private javax.swing.JMenuBar
createMenu()
private void
createMenuItems(javax.swing.JMenu m)
private MyToolPanel
creatToolBar()
javax.swing.JPanel
doMenuTBarLayout()
Layout the Menu and ToolBarjavax.swing.JPanel
doTextPaneLayout()
Creates the WappProTextPanejavax.swing.JComboBox<java.lang.String>
getFontNames()
javax.swing.JComboBox<java.lang.String>
getFontSizes()
WappProTextPane
getTextPane()
private java.lang.String[]
tokenize(java.lang.String s)
-
Field Details
-
progressBar
private javax.swing.JProgressBar progressBar -
cFontNames
private javax.swing.JComboBox<java.lang.String> cFontNames -
cFontSizes
private javax.swing.JComboBox<java.lang.String> cFontSizes -
jTxtP
-
locale
public java.util.Locale locale -
bundle
public java.util.ResourceBundle bundle -
theApp
-
undo
public static javax.swing.JMenuItem undo -
redo
public static javax.swing.JMenuItem redo -
mainStyleName
public final java.lang.String mainStyleName- See Also:
- Constant Field Values
-
charStyleName
public static final java.lang.String charStyleName- See Also:
- Constant Field Values
-
content
-
-
Constructor Details
-
DoLayout
construct the layout to add to javax.swing.JFrame.getContextPane()- Parameters:
_theApp
-WAppEditpadPro2
reference to the Main ApplicationWAppEditpadPro2
_bundle
-java.util.ResourceBundle
reference tojava.util.ResourceBundle
java.util.ResourceBundle defined in WAppEditpadPro2
-
-
Method Details
-
doMenuTBarLayout
public javax.swing.JPanel doMenuTBarLayout()Layout the Menu and ToolBar- Returns:
- a
javax.swing.JPanel
with holds the MenuBar and ToolPanel
-
getTextPane
- Returns:
WappProTextPane
this Class extends the javax.swing.JTextPane
-
createDocumentStyles
public void createDocumentStyles(javax.swing.text.StyleContext sc) -
doTextPaneLayout
public javax.swing.JPanel doTextPaneLayout()Creates the WappProTextPane- Returns:
javax.swing.JPanel
holding the WappProTextPane
-
tokenize
private java.lang.String[] tokenize(java.lang.String s) -
createMenuItems
private void createMenuItems(javax.swing.JMenu m) -
createMenu
private javax.swing.JMenuBar createMenu() -
creatToolBar
-
getFontNames
public javax.swing.JComboBox<java.lang.String> getFontNames()- Returns:
javax.swing.JComboBox<String>
holding the fontNames
-
getFontSizes
public javax.swing.JComboBox<java.lang.String> getFontSizes()- Returns:
javax.swing.JComboBox<String>
holding the fontSizes
-