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()
  • Field Details

  • Constructor Details

    • DoLayout

      public DoLayout​(WAppEditpadPro2 _theApp, java.util.ResourceBundle _bundle)
      construct the layout to add to javax.swing.JFrame.getContextPane()
      Parameters:
      _theApp - WAppEditpadPro2 reference to the Main Application WAppEditpadPro2
      _bundle - java.util.ResourceBundle reference to java.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

      public WappProTextPane 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

      private MyToolPanel 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