Changeset 35606

Show
Ignore:
Timestamp:
10/14/09 03:19:59 (4 years ago)
Author:
tarchan
Message:

lang/java/DesktopKit: javadocを整理

Location:
lang/java/DesktopKit/trunk/src/com/mac/tarchan/desktop
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/java/DesktopKit/trunk/src/com/mac/tarchan/desktop/FileAttachPanel.java

    r35549 r35606  
    161161        public String toString() 
    162162        { 
    163                 return attachFile != null ? attachFile.getAbsolutePath() : null; 
     163                return attachFile != null ? attachFile.getAbsolutePath() : ""; 
    164164        } 
    165165} 
  • lang/java/DesktopKit/trunk/src/com/mac/tarchan/desktop/SexyControl.java

    r35603 r35606  
    141141                 */ 
    142142                segmentedTextured, 
    143 //              /** segmentedGradient */ 
    144 //              segmentedGradient, 
     143                /** 
     144                 * segmentedGradient 
     145                 *  
     146                 * @see <a href="http://lists.apple.com/archives/Java-dev/2008/May/msg00400.html">Re: + / - Buttons</a> 
     147                 */ 
     148                segmentedGradient, 
    145149        } 
    146150 
     
    195199        /** 
    196200         * JComboBox.isPopDown 
     201         *  
     202         * <pre> 
    197203         * Type: {@link Boolean} 
    198204         * Allowed Values: Boolean.TRUE, Boolean.FALSE 
    199205         * Applies to: {@link JComboBox} 
    200206         * This property alters the JComboBox's style to specify if it is intended to be a pop-down or a pop-up control.  
     207         * </pre> 
    201208         */ 
    202209        public static final String JComboBoxIsPopDownKey = "JComboBox.isPopDown"; 
     
    204211        /** 
    205212         * JComboBox.isSquare 
     213         *  
     214         * <pre> 
    206215         * Type: {@link Boolean} 
    207216         * Allowed Values: Boolean.TRUE, Boolean.FALSE 
    208217         * Applies to: {@link JComboBox} 
    209218         * This property changes the appearance of a JComboBox to have squared off edges. 
     219         * </pre> 
    210220         */ 
    211221        public static final String JComboBoxIsSquareKey = "JComboBox.isSquare"; 
     
    213223        /** 
    214224         * JProgressBar.style 
     225         *  
     226         * @see JProgressBarStyle 
     227         */ 
     228        public static final String JProgressBarStyleKey = "JProgressBar.style"; 
     229 
     230        /** 
     231         * JProgressBar.style 
     232         *  
     233         * <pre> 
    215234         * Type: {@link String} 
    216235         * Allowed Values: "circular" 
    217236         * Applies to: {@link JProgressBar} 
    218237         * This proper changes any indeterminate JProgressBar into a small circular spinning indeterminate progress indicator. 
    219          *  
    220          * @see JProgressBarStyle 
    221          */ 
    222         public static final String JProgressBarStyleKey = "JProgressBar.style"; 
    223  
    224         /** JProgressBar.style */ 
     238         * </pre> 
     239         */ 
    225240        public enum JProgressBarStyle 
    226241        { 
     
    233248        /** 
    234249         * JTableHeader.selectedColumn 
     250         *  
     251         * <pre> 
    235252         * Type: {@link Number} 
    236253         * Applies to: {@link JTableHeader} 
    237254         * This property allows you to highlight the currently selected column of a JTable. 
    238255         * The value should be set to the index of the column in the data model that you wish to be selected. 
     256         * </pre> 
    239257         */ 
    240258        public static final String JTableHeaderSelectedColumnKey = "JTableHeader.selectedColumn"; 
     
    242260        /** 
    243261         * JTableHeader.sortDirection 
     262         *  
     263         * @see JTableHeaderSortDirection 
     264         */ 
     265        public static final String JTableHeaderSortDirectionKey = "JTableHeader.sortDirection"; 
     266 
     267        /** 
     268         * JTableHeader.sortDirection 
     269         *  
     270         * <pre> 
    244271         * Type: {@link String} 
    245272         * Allowed Values: "ascending", "decending", null 
     
    250277         * <b>Note:</b> The incorrect spelling "decending" for this properties allowed values is correct. 
    251278         * Using the correctly spelled "descending" will have no effect in J2SE 5.0 on Mac OS X 10.5.0 
    252          *  
    253          * @see JTableHeaderSortDirection 
    254          */ 
    255         public static final String JTableHeaderSortDirectionKey = "JTableHeader.sortDirection"; 
    256  
    257         /** JTableHeader.sortDirection */ 
     279         * </pre> 
     280         */ 
    258281        public enum JTableHeaderSortDirection 
    259282        { 
     
    266289        /** 
    267290         * JTextField.variant 
     291         *  
     292         * @see JTextFieldVariant 
     293         */ 
     294        public static final String JTextFieldVariantKey = "JTextField.variant"; 
     295 
     296        /** 
     297         * JTextField.variant 
     298         *  
     299         * <pre> 
    268300         * Type: {@link String} 
    269301         * Allowed Values: "search" 
     
    271303         * This property changes the text field into a search field. 
    272304         * For additional functionality see the optional JTextField.Search.FindPopup, JTextField.Search.FindAction and JTextField.Search.CancelAction properties. 
    273          *  
    274          * @see JTextFieldVariant 
    275          */ 
    276         public static final String JTextFieldVariantKey = "JTextField.variant"; 
    277  
    278         /** JTextField.variant */ 
     305         * </pre> 
     306         */ 
    279307        public enum JTextFieldVariant 
    280308        { 
     
    287315        /** 
    288316         * JTextField.Search.FindPopup 
     317         *  
     318         * <pre> 
    289319         * Type: {@link JPopupMenu} 
    290320         * Allowed Values: Any JPopupMenu 
     
    292322         * Setting this property attaches the provided JPopupMenu to the search control, and alters the icon to represent that there is a popup menu. 
    293323         * Requires the JTextField.variant to be set to "search". 
     324         * </pre> 
    294325         */ 
    295326        public static final String JTextFieldSearchFindPopupKey = "JTextField.Search.FindPopup"; 
     
    297328        /** 
    298329         * JTextField.Search.FindAction 
     330         *  
     331         * <pre> 
    299332         * Type: {@link ActionListener} 
    300333         * Allowed Values: Any ActionListener 
     
    302335         * Setting this property will trigger the provided ActionListener when the "find icon" in the search field is clicked. 
    303336         * Requires the JTextField.variant to be set to "search". 
     337         * </pre> 
    304338         */ 
    305339        public static final String JTextFieldSearchFindActionKey = "JTextField.Search.FindAction"; 
     
    307341        /** 
    308342         * JTextField.Search.CancelAction 
     343         *  
     344         * <pre> 
    309345         * Type: {@link ActionListener} 
    310346         * Allowed Values: Any ActionListener 
     
    313349         * Requires the JTextField.variant to be set to "search". 
    314350         * <b>Note:</b> The cancel icon is only present when there is text in the search field. 
     351         * </pre> 
    315352         */ 
    316353        public static final String JTextFieldSearchCancelActionKey = "JTextField.Search.CancelAction"; 
     
    318355        /** 
    319356         * Window.documentModified 
    320          * Type: Boolean 
     357         *  
     358         * <pre> 
     359         * Type: {@link Boolean} 
    321360         * Allowed Values: Boolean.TRUE, Boolean.FALSE 
    322361         * Default Value: Boolean.FALSE 
     
    324363         * This property adds the document dirty mark in the close button of the window. 
    325364         * This is used to indicate that the document window has unsaved content, and attempts to close the window will request that the user save the document or discard changes. 
     365         * </pre> 
    326366         */ 
    327367        public static final String WindowDocumentModifiedKey = "Window.documentModified"; 
     
    329369        /** 
    330370         * Window.documentFile 
     371         *  
     372         * <pre> 
    331373         * Type: {@link java.io.File} 
    332374         * Allowed Values: Any 
     
    334376         * This property adds a document proxy icon to the title bar of the window. 
    335377         * <b>WARNING:</b> This property only applies to JRootPanes that have a heavyweight peer. 
     378         * </pre> 
    336379         */ 
    337380        public static final String WindowDocumentFileKey = "Window.documentFile"; 
     
    339382        /** 
    340383         * Window.style 
    341          * Type: String 
     384         *  
     385         * @see WindowStyle 
     386         */ 
     387        public static final String WindowStyleKey = "Window.style"; 
     388 
     389        /** 
     390         * Window.style 
     391         *  
     392         * <pre> 
     393         * Type: {@link String} 
    342394         * Allowed Values: "small" 
    343395         * Applies to: JRootPane 
     
    347399         * This is similar to how native applications behave. 
    348400         * <b>WARNING:</b> This property must be set before the heavyweight peer for the Window is created. Once addNotify() has been called on the component, causing creation of the heavyweight peer, changing this property has no effect. 
    349          *  
    350          * @see WindowStyle 
    351          */ 
    352         public static final String WindowStyleKey = "Window.style"; 
    353  
    354         /** Window.style */ 
     401         * </pre> 
     402         */ 
    355403        public enum WindowStyle 
    356404        { 
     
    361409        /** 
    362410         * Window.alpha 
     411         *  
     412         * <pre> 
    363413         * Type: {@link Float} 
    364414         * Allowed Values: Any value from 0.0 to 1.0 inclusive 
     
    367417         * This property sets the opacity for the whole window and can be changed throughout the lifetime of the window. 
    368418         * <b>WARNING:</b> This property only applies to JRootPanes that have a heavyweight peer. 
     419         * </pre> 
    369420         */ 
    370421        public static final String WindowAlphaKey = "Window.alpha"; 
     
    372423        /** 
    373424         * Window.shadow 
    374          * Type: Boolean 
     425         *  
     426         * <pre> 
     427         * Type: {@link Boolean} 
    375428         * Allowed Values: Boolean.TRUE, Boolean.FALSE 
    376429         * Default Value: Boolean.TRUE 
     
    379432         * <b>WARNING:</b> This property must be set before the heavyweight peer for the Window is created. 
    380433         * Once addNotify() has been called on the component, causing creation of the heavyweight peer, changing this property has no effect. 
     434         * </pre> 
    381435         */ 
    382436        public static final String WindowShadowKey = "Window.shadow"; 
     
    384438        /** 
    385439         * apple.awt.windowShadow.revalidateNow 
    386          * Type: Object 
     440         *  
     441         * <pre> 
     442         * Type: {@link Object} 
    387443         * Allowed Values: Any 
    388444         * Applies to JRootPane 
     
    392448         * <b>WARNING:</b> This property only applies to JRootPanes that have a heavyweight peer. 
    393449         * <b>IMPORTANT:</b> This property requires the Window.shadow property to be explicitly set to Boolean.TRUE 
     450         * </pre> 
    394451         */ 
    395452        public static final String AppleAwtWindowShadowRrevalidateNowKey = "apple.awt.windowShadow.revalidateNow"; 
     
    397454        /** 
    398455         * apple.awt.brushMetalLook 
    399          * Type: Boolean 
     456         *  
     457         * <pre> 
     458         * Type: {@link Boolean} 
    400459         * Allowed Values: Boolean.TRUE, Boolean.FALSE 
    401460         * Default Value: Undefined 
     
    404463         * This client property overrides the corresponding system property, which determines its default value. 
    405464         * <b>WARNING:</b> This property must be set before the heavyweight peer for the Window is created. Once addNotify() has been called on the component, causing creation of the heavyweight peer, changing this property has no effect. 
     465         * </pre> 
    406466         */ 
    407467        public static final String AppleAwtBrushMetalLookKey = "apple.awt.brushMetalLook"; 
     
    409469        /** 
    410470         * apple.awt.draggableWindowBackground 
    411          * Type: Boolean 
     471         *  
     472         * <pre> 
     473         * Type: {@link Boolean} 
    412474         * Allowed Values: Boolean.TRUE, Boolean.FALSE 
    413475         * Default Value: Boolean.FALSE 
     
    417479         * <b>WARNING:</b> This property must be set before the heavyweight peer for the Window is created. 
    418480         * Once addNotify() has been called on the component, causing creation of the heavyweight peer, changing this property has no effect. 
     481         * </pre> 
    419482         */ 
    420483        public static final String AppleAwtDraggableWindowBackgroundKey = "apple.awt.draggableWindowBackground"; 
     
    422485        /** 
    423486         * apple.awt.delayWindowOrdering 
    424          * Type: Boolean 
     487         *  
     488         * <pre> 
     489         * Type: {@link Boolean} 
    425490         * Allowed Values: Boolean.TRUE, Boolean.FALSE 
    426491         * Default Value: Boolean.FALSE 
     
    431496         * <b>WARNING:</b> This property must be set before the heavyweight peer for the Window is created. 
    432497         * Once addNotify() has been called on the component, causing creation of the heavyweight peer, changing this property has no effect. 
     498         * </pre> 
    433499         */ 
    434500        public static final String AppleAwtDelayWindowOrderingKey = "apple.awt.delayWindowOrdering"; 
     
    486552         * @param group ボタングループ 
    487553         * @param style スタイル 
     554         * @see #setSegmentButtonStyle(AbstractButton, JButtonButtonType, JButtonSegmentPosition) 
    488555         */ 
    489556        public static void setSegmentButtonStyle(ButtonGroup group, JButtonButtonType style) 
     
    532599         * @param find 検索アクション 
    533600         * @param cancel キャンセルアクション 
     601         * @see #JTextFieldVariantKey 
     602         * @see #JTextFieldSearchFindPopupKey 
     603         * @see #JTextFieldSearchFindActionKey 
     604         * @see #JTextFieldSearchCancelActionKey 
    534605         */ 
    535606        public static void setSearchTextField(JTextField textField, JPopupMenu popupMenu, ActionListener find, ActionListener cancel) 
     
    545616         *  
    546617         * @param progressBar プログレスバー 
     618         * @see JProgressBarStyle#circular 
    547619         */ 
    548620        public static void setCircularProgressBar(JProgressBar progressBar) 
     
    556628         *  
    557629         * @param comboBox コンボボックス 
     630         * @see #JComboBoxIsPopDownKey 
    558631         */ 
    559632        public static void setPopDownComboBox(JComboBox comboBox) 
     
    566639         *  
    567640         * @param comboBox コンボボックス 
     641         * @see #JComboBoxIsSquareKey 
    568642         */ 
    569643        public static void setSquareComboBox(JComboBox comboBox) 
     
    577651         * @param window ウインドウ 
    578652         * @param modified ドキュメント変更 
     653         * @see #WindowDocumentModifiedKey 
    579654         */ 
    580655        public static void setWindowDocumentModified(RootPaneContainer window, boolean modified) 
     
    590665         * @param window ウインドウ 
    591666         * @param file ファイル 
     667         * @see #WindowDocumentFileKey 
    592668         */ 
    593669        public static void setWindowDocumentFile(RootPaneContainer window, File file) 
     
    603679         * @param window ウインドウ 
    604680         * @param style スタイル 
     681         * @see #WindowStyleKey 
    605682         */ 
    606683        public static void setWindowStyle(RootPaneContainer window, WindowStyle style) 
     
    616693         * @param window ウインドウ 
    617694         * @param alpha Any value from 0.0 to 1.0 inclusive 
     695         * @see #WindowAlphaKey 
    618696         */ 
    619697        public static void setWindowAlpha(RootPaneContainer window, double alpha) 
     
    628706         * @param window ウインドウ 
    629707         * @param shadow シャドウ 
     708         * @see #WindowShadowKey 
    630709         */ 
    631710        public static void setWindowShadow(RootPaneContainer window, boolean shadow) 
     
    636715 
    637716        /** 
    638          *  
     717         * useBrushMetalLook 
     718         *  
     719         * @see #AppleAwtBrushMetalLookKey 
    639720         */ 
    640721        public static void useBrushMetalLook() 
     
    645726        /** 
    646727         * メニューバーをスクリーンに設定します。 
     728         *  
     729         * @see #AppleLafUseScreenMenuBarKey 
    647730         */ 
    648731        public static void useScreenMenuBar() 
     
    655738         *  
    656739         * @param aboutName アプリケーション名 
     740         * @see #AppleMenuAboutNameKey 
    657741         */ 
    658742        public static void setAppleMenuAboutName(String aboutName)