Page History

class.txt

haya4 edited this page on 6 Dec 2020

Clone this wiki locally

@startuml title package 'osm.jp.gpx.matchtime.gui'

interface PanelAction java:osm.jp.gpx.matchtime.gui.PanelAction { void openAction() boolean isEnable() } interface ParamAction java:osm.jp.gpx.matchtime.gui.ParamAction { boolean isEnable() void setText(String text) String getText() } class ParameterPanelImageFile java:osm.jp.gpx.matchtime.gui.ParameterPanelImageFile { ~JFileChooser fc +JButton openButton +ParameterPanelImageFile(String label, String text, ParameterPanelFolder paramDir) +void selectImage_Action(ActionEvent ev) +File getImageFile() +boolean isEnable() } class ParameterPanelFolder java:osm.jp.gpx.matchtime.gui.ParameterPanelFolder { ~JFileChooser fc ~JButton selectButton ~int chooser +ParameterPanelFolder(String label, String text) +ParameterPanelFolder(String label, String text, int chooser) +void setEnable(boolean f) +File getDirectory() +void actionPerformed(ActionEvent e) +boolean isEnable() } ParameterPanelImageFile --> "1" ParameterPanelFolder : paramDir abstract class ParameterPanel java:osm.jp.gpx.matchtime.gui.ParameterPanel { -{static}long serialVersionUID +JTextField argField +JLabel argLabel +ResourceBundle i18n +ParameterPanel(String label, String text) +ParameterPanel() +ParameterPanel setLabel(String label) +void setText(String text) +String getText() } ParameterPanel <|-- ParameterPanelImageFile class Command java:osm.jp.gpx.matchtime.gui.Command { ~String[] args -String commandName -Class cmd +Command(Class<?> cmd) +void setArgs(String[] args) +void setCommandName(String name) +String getCommandName() +void run() } class Thread java:java.lang.Thread { } Thread <|-- Command interface SimpleDocumentListener java:osm.jp.gpx.matchtime.gui.SimpleDocumentListener { void update(DocumentEvent e) void insertUpdate(DocumentEvent e) void removeUpdate(DocumentEvent e) void changedUpdate(DocumentEvent e) } interface DocumentListener java:javax.swing.event.DocumentListener { } DocumentListener <|-- SimpleDocumentListener class GpxAndFolderFilter java:osm.jp.gpx.matchtime.gui.GpxAndFolderFilter { +boolean accept(File f) +String getDescription() } class FileFilter java:javax.swing.filechooser.FileFilter { } FileFilter <|-- GpxAndFolderFilter class ParameterPanelSelecter java:osm.jp.gpx.matchtime.gui.ParameterPanelSelecter { +{static}int ITEM_WIDTH_1 +{static}int ITEM_WIDTH_2 +{static}int LINE_WIDTH +{static}int LINE_HEIGHT +JLabel label +JComboBox field +String value +ParameterPanelSelecter(String title, String[] items) +void actionPerformed(ActionEvent e) } class JPanel java:javax.swing.JPanel { } JPanel <|-- ParameterPanelSelecter interface ActionListener java:java.awt.event.ActionListener { } ActionListener <|.. ParameterPanelSelecter class JPanel java:javax.swing.JPanel { } JPanel <|-- ParameterPanel interface ParamAction java:osm.surveyor.matchtime.gui.ParamAction { } ParamAction <|.. ParameterPanel class CardExifPerform java:osm.jp.gpx.matchtime.gui.CardExifPerform { -{static}long serialVersionUID ~JButton doButton +CardExifPerform(JTabbedPane tabbe, ParameterPanelTime arg_basetime, ParameterPanelGpx arg_gpxFile, ParameterPanelOutput arg_output, String text, int pre, int next) ~void outputIMG_Action(ActionEvent event) ~void doButton_Action(java.awt.event.ActionEvent event) +boolean isEnable() +void openAction() } class ParameterPanelTime java:osm.surveyor.matchtime.gui.ParameterPanelTime { } CardExifPerform --> "1" ParameterPanelTime : arg_basetime class ParameterPanelGpx java:osm.surveyor.matchtime.gui.ParameterPanelGpx { } CardExifPerform --> "1" ParameterPanelGpx : arg_gpxFile class ParameterPanelOutput java:osm.surveyor.matchtime.gui.ParameterPanelOutput { } CardExifPerform --> "1" ParameterPanelOutput : arg_output class Card java:osm.surveyor.matchtime.gui.Card { } Card <|-- CardExifPerform interface PanelAction java:osm.surveyor.matchtime.gui.PanelAction { } PanelAction <|.. CardExifPerform class DoDialog java:osm.jp.gpx.matchtime.gui.DoDialog { +{static}String TITLE ~boolean fComponentsAdjusted ~String[] args ~JPanel buttonPanel ~JButton closeButton ~JButton doButton ~JTextArea textArea +DoDialog(String[] args) +void setVisible(boolean b) +void addNotify() } class JDialog java:javax.swing.JDialog { } JDialog <|-- DoDialog class Utils java:osm.jp.gpx.matchtime.gui.Utils { +{static}String JPEG +{static}String JPG +{static}String GIF +{static}String TIFF +{static}String TIF +{static}String PNG +{static}String getExtension(File f)

#{static}ImageIcon createImageIcon(String path)

} class ParameterPanelTime java:osm.jp.gpx.matchtime.gui.ParameterPanelTime { -{static}long serialVersionUID ~SimpleDateFormat sdf +ButtonGroup baseTimeGroup +JRadioButton exifBase +JRadioButton fupdateBase +JButton updateButton +JButton resetButton ~Window owner +ParameterPanelTime(String label, String text, ParameterPanelImageFile imageFile) +ParameterPanelTime setOwner(Window owner) +void addExifBase(String label, AppParameters params) +void addFileUpdate(String label, AppParameters params) +ParameterPanelImageFile getImageFile() ~void fileSelect_Action(ParameterPanelTime param) +boolean isEnable() } class ParameterPanelImageFile java:osm.surveyor.matchtime.gui.ParameterPanelImageFile { } ParameterPanelTime --> "1" ParameterPanelImageFile : imageFile ParameterPanel <|-- ParameterPanelTime class QuitDialog java:osm.jp.gpx.matchtime.gui.QuitDialog { ~JButton yesButton ~JButton noButton ~JLabel label1 +QuitDialog(JFrame parent, boolean modal) +void setVisible(boolean b) +void windowActivated(WindowEvent e) +void windowClosed(WindowEvent e) +void windowClosing(WindowEvent e) +void windowDeactivated(WindowEvent e) +void windowDeiconified(WindowEvent e) +void windowIconified(WindowEvent e) +void windowOpened(WindowEvent e) } class JDialog java:javax.swing.JDialog { } JDialog <|-- QuitDialog interface WindowListener java:java.awt.event.WindowListener { } WindowListener <|.. QuitDialog class AdjustTerra java:osm.jp.gpx.matchtime.gui.AdjustTerra { +{static}String PROGRAM_NAME +{static}String PROGRAM_VARSION +{static}String PROGRAM_UPDATE ~AppParameters params +{static}SimpleDateFormat dfjp ~boolean fComponentsAdjusted +{static}ResourceBundle i18n ~JTabbedPane cardPanel ~java.awt.MenuBar mainMenuBar ~java.awt.Menu menu1 ~java.awt.MenuItem miDoNewFileList ~java.awt.MenuItem miDoDirSize ~java.awt.MenuItem miDoReadXML ~java.awt.MenuItem miExit ~java.awt.Menu menu2 ~java.awt.MenuItem miRestamp ~java.awt.Menu menu3 ~java.awt.MenuItem miAbout +AdjustTerra() +void setVisible(boolean b) +{static}void main(String[] args) -{static}void createAndShowGUI() +void addNotify() ~void DbMang_WindowClosing(java.awt.event.WindowEvent event) ~void miAbout_Action(java.awt.event.ActionEvent event) ~void miRestamp_Action(java.awt.event.ActionEvent event) ~void miExit_Action(java.awt.event.ActionEvent event) ~void toEnable(int cardNo, boolean enable) +{static}ImageIcon createImageIcon(String path) } class Card java:osm.surveyor.matchtime.gui.Card { } AdjustTerra --> "*" Card : cards AdjustTerra --> "1" ParameterPanelFolder : arg1_srcFolder class ParameterPanelImageFile java:osm.surveyor.matchtime.gui.ParameterPanelImageFile { } AdjustTerra --> "1" ParameterPanelImageFile : arg2_baseTimeImg class ParameterPanelTime java:osm.surveyor.matchtime.gui.ParameterPanelTime { } AdjustTerra --> "1" ParameterPanelTime : arg2_basetime class ParameterPanelGpx java:osm.surveyor.matchtime.gui.ParameterPanelGpx { } AdjustTerra --> "1" ParameterPanelGpx : arg3_gpxFile class ParameterPanelOutput java:osm.surveyor.matchtime.gui.ParameterPanelOutput { } AdjustTerra --> "1" ParameterPanelOutput : arg4_output class JFrame java:javax.swing.JFrame { } JFrame <|-- AdjustTerra class ImagePreview java:osm.jp.gpx.matchtime.gui.ImagePreview { ~ImageIcon thumbnail ~File file ~{static}int IMAGE_SIZE_X ~{static}int IMAGE_SIZE_Y +ImagePreview(JFileChooser fc) +void loadImage() +void propertyChange(PropertyChangeEvent e)

#void paintComponent(Graphics g)

} class JComponent java:javax.swing.JComponent { } JComponent <|-- ImagePreview interface PropertyChangeListener java:java.beans.PropertyChangeListener { } PropertyChangeListener <|.. ImagePreview class ImageFileView java:osm.jp.gpx.matchtime.gui.ImageFileView { ~ImageIcon jpgIcon ~ImageIcon gifIcon ~ImageIcon tiffIcon ~ImageIcon pngIcon +String getName(File f) +String getDescription(File f) +Boolean isTraversable(File f) +String getTypeDescription(File f) +Icon getIcon(File f) } class FileView java:javax.swing.filechooser.FileView { } FileView <|-- ImageFileView class CardGpxFile java:osm.jp.gpx.matchtime.gui.CardGpxFile { -{static}long serialVersionUID +CardGpxFile(JTabbedPane tabbe, ParameterPanelGpx arg_gpxFile, String text, int pre, int next) +boolean isEnable() +void openAction() } class ParameterPanelGpx java:osm.surveyor.matchtime.gui.ParameterPanelGpx { } CardGpxFile --> "1" ParameterPanelGpx : arg_gpxFile class Card java:osm.surveyor.matchtime.gui.Card { } Card <|-- CardGpxFile interface PanelAction java:osm.surveyor.matchtime.gui.PanelAction { } PanelAction <|.. CardGpxFile class AboutDialog java:osm.jp.gpx.matchtime.gui.AboutDialog { ~java.awt.Label label1 ~java.awt.Button okButton ~java.awt.Label label2 ~boolean fComponentsAdjusted +AboutDialog(Frame parent, boolean modal) +AboutDialog(Frame parent, String title, boolean modal) +void addNotify() +void setVisible(boolean b) ~void AboutDialog_WindowClosing(java.awt.event.WindowEvent event) ~void okButton_Clicked(java.awt.event.ActionEvent event) } class Dialog java:java.awt.Dialog { } Dialog <|-- AboutDialog class ImageFilter java:osm.jp.gpx.matchtime.gui.ImageFilter { +boolean accept(File f) +String getDescription() } class FileFilter java:javax.swing.filechooser.FileFilter { } FileFilter <|-- ImageFilter class Card java:osm.jp.gpx.matchtime.gui.Card { -{static}long serialVersionUID ~JTabbedPane tabbe +JPanel mainPanel ~String title ~int backNumber ~int nextNumber +JButton nextButton +JButton backButton +Card(JTabbedPane tabbe, String title, int backNumber, int nextNumber) +{static}JPanel packLine(JComponent[] components, JPanel panel) +{static}JPanel packLine(JComponent component, JPanel panel) +void setEnabled(boolean enabled) +String getTitle() ~void nextButton_Action(ActionEvent event) ~void backButton_Action(ActionEvent event) } class JPanel java:javax.swing.JPanel { } JPanel <|-- Card class ParameterData java:osm.jp.gpx.matchtime.gui.ParameterData { ~String content ~String getContent() ~void setContent(String content) +void notifyObservers(Object arg) } class Observable java:java.util.Observable { } Observable <|-- ParameterData class ParameterPanelOutput java:osm.jp.gpx.matchtime.gui.ParameterPanelOutput { ~JCheckBox outputIMG ~JCheckBox outputIMG_all ~JCheckBox exifON ~JCheckBox gpxOverwriteMagvar ~JCheckBox gpxOutputSpeed +ParameterPanelOutput(String label, String text) +void addCheckChangeImage(String label, AppParameters params) +void addCheckOutofGpxTime(String label, AppParameters params) +void addCheckOutputExif(String label, AppParameters params) +void addCheckIgnoreMagvar(String label, AppParameters params) +void addCheckOutputSpeed(String label, AppParameters params) } ParameterPanelFolder <|-- ParameterPanelOutput ParameterPanel <|-- ParameterPanelFolder interface ActionListener java:java.awt.event.ActionListener { } ActionListener <|.. ParameterPanelFolder class ParameterPanelGpx java:osm.jp.gpx.matchtime.gui.ParameterPanelGpx { ~JFileChooser fc ~JButton selectButton +JCheckBox noFirstNode +ParameterPanelGpx(String label, String text) +void actionPerformed(ActionEvent e) +File getGpxFile() +void addNoFirstNode(String label, AppParameters params) +boolean isNoFirstNodeSelected() +boolean isEnable() } ParameterPanel <|-- ParameterPanelGpx interface ActionListener java:java.awt.event.ActionListener { } ActionListener <|.. ParameterPanelGpx @enduml