com.didkovsky.portview.awt
Class ViewFactoryAWT
java.lang.Object
com.didkovsky.portview.awt.ViewFactoryAWT
- All Implemented Interfaces:
- ViewFactory
public class ViewFactoryAWT
- extends java.lang.Object
- implements ViewFactory
- Author:
- Nick Didkovsky, (c) 2004 All rights reserved, Email:
didkovn@mail.rockefeller.edu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewFactoryAWT
public ViewFactoryAWT()
createFrame
public PVFrame createFrame()
- Specified by:
createFrame
in interface ViewFactory
createFrame
public PVFrame createFrame(java.lang.String title)
- Specified by:
createFrame
in interface ViewFactory
createMenuBar
public PVMenuBar createMenuBar()
- Specified by:
createMenuBar
in interface ViewFactory
createMenu
public PVMenu createMenu(java.lang.String text)
- Specified by:
createMenu
in interface ViewFactory
createMenuItem
public PVMenuItem createMenuItem(java.lang.String text)
- Specified by:
createMenuItem
in interface ViewFactory
createMenuItem
public PVMenuItem createMenuItem(java.lang.String text,
int shortcutKey)
- Specified by:
createMenuItem
in interface ViewFactory
createCheckboxMenuItem
public PVCheckboxMenuItem createCheckboxMenuItem(java.lang.String text,
boolean b)
- Specified by:
createCheckboxMenuItem
in interface ViewFactory
createPanel
public PVPanel createPanel()
- Specified by:
createPanel
in interface ViewFactory
createButton
public PVButton createButton(java.lang.String text)
- Specified by:
createButton
in interface ViewFactory
createLabel
public PVLabel createLabel(java.lang.String string)
- Specified by:
createLabel
in interface ViewFactory
createLabel
public PVLabel createLabel(java.lang.String text,
int alignment)
createCanvas
public PVCanvas createCanvas()
- Specified by:
createCanvas
in interface ViewFactory
getFactoryType
public int getFactoryType()
- Specified by:
getFactoryType
in interface ViewFactory
createCheckbox
public PVCheckbox createCheckbox(java.lang.String text)
- Specified by:
createCheckbox
in interface ViewFactory
createCheckbox
public PVCheckbox createCheckbox(java.lang.String text,
boolean b)
- Specified by:
createCheckbox
in interface ViewFactory
createChoice
public PVChoice createChoice()
- Specified by:
createChoice
in interface ViewFactory
createDialog
public PVDialog createDialog(java.awt.Frame owner,
boolean modal)
- Specified by:
createDialog
in interface ViewFactory
createTextField
public PVTextField createTextField(java.lang.String str)
- Specified by:
createTextField
in interface ViewFactory
createTextField
public PVTextField createTextField(java.lang.String str,
int cols)
- Specified by:
createTextField
in interface ViewFactory
createTextArea
public PVTextArea createTextArea(int rows,
int cols)
- Specified by:
createTextArea
in interface ViewFactory
createScrollPane
public PVScrollPane createScrollPane()
- Specified by:
createScrollPane
in interface ViewFactory
createCheckbox
public PVCheckbox createCheckbox(java.lang.String text,
PVRadioGroup group,
boolean b)
- Specified by:
createCheckbox
in interface ViewFactory
createRadioGroup
public PVRadioGroup createRadioGroup()
- Description copied from interface:
ViewFactory
- Used with PVCheckbox
- Specified by:
createRadioGroup
in interface ViewFactory