|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--javax.swing.JDialog | +--jdraw.ui.GraphicalObjectProperties | +--jdraw.ui.TextAreaProperties
A property dialog for text areas.
Inner Class Summary | |
private static class |
TextAreaProperties.FontPreview
Private inner class used to store messages. |
private static class |
TextAreaProperties.Messages
Private inner class used to store messages. |
Inner classes inherited from class jdraw.ui.GraphicalObjectProperties |
GraphicalObjectProperties.Messages |
Inner classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
Inner classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Inner classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.AWTTreeLock |
Field Summary | |
private ButtonGroup |
bgAlignment
The button group for alignment. |
private JCheckBox |
cbBold
The check box for boldness. |
private JCheckBox |
cbItalic
The check box for italicness. |
private JComboBox |
cmbFontName
The list for font name. |
private static int |
COLUMNSINFONTSIZEFIELD
The number of columns in font size field. |
private static Insets |
COMPONENTSINSET
The default insets for components. |
private static int |
FONTSIZEOFFONTLIST
The size of the fonts in the font list. |
private HashMap |
hmAligmentButtons
The hashtable of alignment radio buttons |
private static JComponent |
SEPARATOR
The default insets for components. |
private static String[] |
strFontFamilyNames
The list of available font family names. |
private TextArea |
taTextArea
The text area managed. |
private JTextField |
tfFontSize
The text field for font size. |
private JTextField |
tfText
The text field for text. |
Fields inherited from class jdraw.ui.GraphicalObjectProperties |
cfColor, COLUMNSINPOSITIONFIELDS, dMinimumSize, grobjGraphicalObject, IMAGEPALETTEPATH, panelPropertyGroups, tfPositionX, tfPositionY |
Fields inherited from class javax.swing.JDialog |
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
base, keepBlocking, modal, nameCounter, resizable, serialVersionUID, title |
Fields inherited from class java.awt.Window |
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, showWithParent, state, warningString, weakThis, windowListener, windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
TextAreaProperties(Frame frmOwner,
TextArea taTextArea)
Creates a new TextAreaProperties object.
|
Method Summary | |
void |
applyValues()
Invoked when values must be applied to object. |
private JPanel |
buildAlignmentPanel()
Builds the alignment panel. |
private JPanel |
buildFontNameAndSizePanel()
Builds the font name and size panel. |
private JPanel |
buildFontPanel()
Builds the font panel. |
private JPanel |
buildFontStylePanel()
Builds the font style panel. |
private JPanel |
buildTextAndAlignmentPanel()
Builds the text and alignment panel. |
private JPanel |
buildTextPanel()
Builds the text panel. |
void |
loadValues()
Invoked when values must be loaded from object. |
void |
pack()
Causes this Window to be sized to fit the preferred size and layouts of its subcomponents. |
Methods inherited from class jdraw.ui.GraphicalObjectProperties |
addPropertyGroup, buildButtonsPanel, buildPositionAndColorPanel, commandCancel, commandChooseColor, commandOk |
Methods inherited from class java.awt.Dialog |
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Field Detail |
private static final int COLUMNSINFONTSIZEFIELD
private static final int FONTSIZEOFFONTLIST
private static final Insets COMPONENTSINSET
private static final JComponent SEPARATOR
private static final String[] strFontFamilyNames
private final HashMap hmAligmentButtons
private final JComboBox cmbFontName
private final JTextField tfFontSize
private final JCheckBox cbBold
private final JCheckBox cbItalic
private final JTextField tfText
private final ButtonGroup bgAlignment
private TextArea taTextArea
Constructor Detail |
public TextAreaProperties(Frame frmOwner, TextArea taTextArea)
TextAreaProperties
object.
This dialog window is neither packed nor visible.Method Detail |
public void pack()
pack
in class GraphicalObjectProperties
private JPanel buildFontPanel()
private JPanel buildFontNameAndSizePanel()
private JPanel buildFontStylePanel()
private JPanel buildTextPanel()
private JPanel buildAlignmentPanel()
private JPanel buildTextAndAlignmentPanel()
public void applyValues()
applyValues
in class GraphicalObjectProperties
public void loadValues()
loadValues
in class GraphicalObjectProperties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |