| Modifier and Type | Class and Description |
|---|---|
| private static class | SynthInternalFrameTitlePane.
A subclass of |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| protected JButton | |
| private SynthStyle | |
| protected JPopupMenu | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addSubComponents()
Overrides javax. Adds subcomponents. |
| protected void | |
| protected void | assembleSystemMenu()
Overrides javax. Assembles system menu. |
| protected LayoutManager | createLayout()
Overrides javax. Returns a layout manager. |
| private JButton | |
| private static int | |
| private int | |
| public SynthContext | getContext(JComponent c)
Implements javax. Returns the Context for the specified component. |
| public SynthContext | |
| private Region | |
| public String | getUIClassID()
Overrides javax. Returns the |
| protected void | installDefaults()
Overrides javax. Installs default properties. |
| protected void | installListeners()
Overrides javax. Registers listeners. |
| protected void | |
| public void | paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Implements javax. Paints the border. |
| public void | paintComponent(Graphics g)
Overrides javax. Calls the UI delegate's paint method, if the UI delegate
is non- |
| public void | propertyChange(PropertyChangeEvent evt)
Implements java. This method gets called when a bound property is changed. |
| protected void | showSystemMenu()
Overrides javax. Shows system menu. |
| protected void | uninstallDefaults()
Overrides javax. Uninstalls default properties. |
| protected void | uninstallListeners()
Overrides javax. Unregisters listeners. |
| private void | |
| private void |
| buttonSpacing | back to summary |
|---|---|
| private int buttonSpacing | |
| menuButton | back to summary |
|---|---|
| protected JButton menuButton | |
| style | back to summary |
|---|---|
| private SynthStyle style | |
| systemPopupMenu | back to summary |
|---|---|
| protected JPopupMenu systemPopupMenu | |
| titleAlignment | back to summary |
|---|---|
| private int titleAlignment | |
| titleSpacing | back to summary |
|---|---|
| private int titleSpacing | |
| SynthInternalFrameTitlePane | back to summary |
|---|---|
| public SynthInternalFrameTitlePane(JInternalFrame f) | |
| addSubComponents | back to summary |
|---|---|
| protected void addSubComponents() Overrides javax. Doc from javax. Adds subcomponents. | |
| addSystemMenuItems | back to summary |
|---|---|
| protected void addSystemMenuItems(JPopupMenu menu) | |
| assembleSystemMenu | back to summary |
|---|---|
| protected void assembleSystemMenu() Overrides javax. Doc from javax. Assembles system menu. | |
| createLayout | back to summary |
|---|---|
| protected LayoutManager createLayout() Overrides javax. Doc from javax. Returns a layout manager. | |
| createNoFocusButton | back to summary |
|---|---|
| private JButton createNoFocusButton() | |
| getButtonMnemonic | back to summary |
|---|---|
| private static int getButtonMnemonic(String button) Hides javax. | |
| getComponentState | back to summary |
|---|---|
| private int getComponentState(JComponent c) | |
| getContext | back to summary |
|---|---|
| public SynthContext getContext(JComponent c) Implements javax. Doc from javax. Returns the Context for the specified component. | |
| getContext | back to summary |
|---|---|
| public SynthContext getContext(JComponent c, int state) | |
| getRegion | back to summary |
|---|---|
| private Region getRegion(JComponent c) | |
| getUIClassID | back to summary |
|---|---|
| public String getUIClassID() Overrides javax. Doc from javax. Returns the | |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Overrides javax. Doc from javax. Installs default properties. | |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Overrides javax. Doc from javax. Registers listeners. | |
| paint | back to summary |
|---|---|
| protected void paint(SynthContext context, Graphics g) | |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) Implements javax. Doc from javax. Paints the border. | |
| paintComponent | back to summary |
|---|---|
| public void paintComponent(Graphics g) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent evt) Implements java. Doc from java. This method gets called when a bound property is changed. | |
| showSystemMenu | back to summary |
|---|---|
| protected void showSystemMenu() Overrides javax. Doc from javax. Shows system menu. | |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults() Overrides javax. Doc from javax. Uninstalls default properties. | |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Overrides javax. Doc from javax. Unregisters listeners. | |
| updateMenuIcon | back to summary |
|---|---|
| private void updateMenuIcon() Resets the menuButton icon to match that of the frame. | |
| updateStyle | back to summary |
|---|---|
| private void updateStyle(JComponent c) | |
JPopupMenu that implements UIResource.
| Access | Constructor and Description |
|---|---|
| private |
| JPopupMenuUIResource | back to summary |
|---|---|
| private JPopupMenuUIResource() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | addLayoutComponent(String name, Component c)
Implements java. If the layout manager uses a per-component string,
adds the component |
| private int | |
| public void | layoutContainer(Container c)
Implements java. Lays out the specified container. |
| public Dimension | minimumLayoutSize(Container c)
Implements java. Calculates the minimum size dimensions for the specified container, given the components it contains. |
| public Dimension | preferredLayoutSize(Container c)
Implements java. Calculates the preferred size dimensions for the specified container, given the components it contains. |
| public void | removeLayoutComponent(Component c)
Implements java. Removes the specified component from the layout. |
| SynthTitlePaneLayout | back to summary |
|---|---|
| pack-priv SynthTitlePaneLayout() | |
| addLayoutComponent | back to summary |
|---|---|
| public void addLayoutComponent(String name, Component c) Implements java. Doc from java. If the layout manager uses a per-component string,
adds the component | |
| center | back to summary |
|---|---|
| private int center(Component c, Insets insets, int x, boolean trailing) | |
| layoutContainer | back to summary |
|---|---|
| public void layoutContainer(Container c) Implements java. Doc from java. Lays out the specified container. | |
| minimumLayoutSize | back to summary |
|---|---|
| public Dimension minimumLayoutSize(Container c) Implements java. Doc from java. Calculates the minimum size dimensions for the specified container, given the components it contains. | |
| preferredLayoutSize | back to summary |
|---|---|
| public Dimension preferredLayoutSize(Container c) Implements java. Doc from java. Calculates the preferred size dimensions for the specified container, given the components it contains. | |
| removeLayoutComponent | back to summary |
|---|---|
| public void removeLayoutComponent(Component c) Implements java. Doc from java. Removes the specified component from the layout. | |