|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
javamorph.CMain
public class CMain
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private CAbout |
about
Global info window of this program. |
private CConfig |
config
Configuration dialog with file storing functionality. |
private JFrame |
frame
JFrame, as top level window on the screen. |
private CFrame |
left
Left picture's display. |
static Dimension |
MIN_SIZE
Minimum size of this application on the screen. |
private CProgress |
progress
Progress bar, shown when morphing a number of intermediate pictures. |
private CFrame |
right
Right picture's display. |
private CSeparator |
sep
Separator line between both displays. |
private static long |
serialVersionUID
Java API. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CMain()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(String name,
Component comp)
Layout manager API. |
JFrame |
getFrame()
Get function. |
void |
initMesh()
Delete the contents of both meshes. |
void |
layoutContainer(Container parent)
Setting the bounds of the application's main frame's components. |
static void |
main(String[] args)
Main entry. |
Dimension |
minimumLayoutSize(Container parent)
Provide the minimum layout size of the JFrame. |
void |
morph()
Perform the morph operation. |
Dimension |
preferredLayoutSize(Container parent)
Ask nested components to calculate the JFrame window size on screen. |
void |
removeLayoutComponent(Component comp)
Layout manager API. |
void |
showAboutDialog()
Show the about global info. |
void |
showConfigDialog()
Show the configuration dialog. |
void |
windowActivated(WindowEvent e)
Event API. |
void |
windowClosed(WindowEvent e)
Event API. |
void |
windowClosing(WindowEvent e)
Event API. |
void |
windowDeactivated(WindowEvent e)
Event API. |
void |
windowDeiconified(WindowEvent e)
Event API. |
void |
windowIconified(WindowEvent e)
Event API. |
void |
windowOpened(WindowEvent e)
Event API. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
public static final Dimension MIN_SIZE
private CFrame left
private CFrame right
private CSeparator sep
private JFrame frame
private CAbout about
private CProgress progress
private CConfig config
| Constructor Detail |
|---|
public CMain()
| Method Detail |
|---|
public static void main(String[] args)
args - Command line arguments.public void showAboutDialog()
public void showConfigDialog()
public void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerpublic void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerpublic void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerpublic void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerpublic void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerpublic void windowOpened(WindowEvent e)
windowOpened in interface WindowListener
public void addLayoutComponent(String name,
Component comp)
addLayoutComponent in interface LayoutManagerpublic void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerpublic Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerpublic Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerpublic void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagerpublic void morph()
public JFrame getFrame()
public void initMesh()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||