├── settings.gradle.kts ├── .gitignore ├── libs ├── ui.jar ├── junit-4.10.jar └── README_lib ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── src └── com │ └── jidesoft │ ├── icons │ ├── jide │ │ ├── save.png │ │ ├── jide32.png │ │ ├── jide50.png │ │ ├── cursor_tab.gif │ │ ├── file_html.png │ │ ├── file_java.png │ │ ├── file_text.png │ │ ├── jide_logo.png │ │ ├── view_html.gif │ │ ├── cursor_delete.gif │ │ ├── cursor_drag.gif │ │ ├── cursor_east.gif │ │ ├── cursor_float.gif │ │ ├── cursor_north.gif │ │ ├── cursor_south.gif │ │ ├── cursor_west.gif │ │ ├── direction_dot.gif │ │ ├── direction_up.gif │ │ ├── view_design.gif │ │ ├── cursor_h_split.gif │ │ ├── cursor_v_split.gif │ │ ├── cursor_vertical.gif │ │ ├── direction_down.gif │ │ ├── direction_left.gif │ │ ├── direction_right.gif │ │ ├── dockableframe_1.gif │ │ ├── dockableframe_2.gif │ │ ├── dockableframe_3.gif │ │ ├── dockableframe_4.gif │ │ ├── dockableframe_5.gif │ │ ├── dockableframe_6.gif │ │ ├── dockableframe_7.gif │ │ ├── dockableframe_8.gif │ │ ├── dockableframe_9.gif │ │ ├── jide_logo_small.png │ │ ├── cursor_drag_stop.gif │ │ ├── cursor_drag_text.gif │ │ ├── cursor_horizontal.gif │ │ ├── cursor_move_east.gif │ │ ├── cursor_move_west.gif │ │ ├── cursor_percentage.gif │ │ ├── dockableframe_10.gif │ │ ├── dockableframe_11.gif │ │ ├── dockableframe_12.gif │ │ ├── dockableframe_13.gif │ │ ├── dockableframe_14.gif │ │ ├── dockableframe_15.gif │ │ ├── dockableframe_16.gif │ │ ├── dockableframe_17.gif │ │ ├── dockableframe_18.gif │ │ ├── dockableframe_19.gif │ │ ├── dockableframe_20.gif │ │ ├── jide_logo_small_2.png │ │ ├── dockableframe_blank.gif │ │ ├── menu_checkbox_vsnet.gif │ │ ├── cursor_drag_text_stop.gif │ │ ├── menu_checkbox_eclipse.gif │ │ ├── menu_radiobutton_vsnet.gif │ │ ├── menu_radiobutton_eclipse.gif │ │ ├── windows_new_vertical_tab_group.png │ │ └── windows_new_horizontal_tab_group.png │ └── package-info.java │ ├── swing │ ├── CheckBoxListModel.java │ ├── icons │ │ ├── next.png │ │ ├── close.png │ │ ├── closeR.png │ │ ├── error.png │ │ ├── nextD.png │ │ ├── nextR.png │ │ ├── repeat.png │ │ ├── previous.png │ │ ├── previousD.png │ │ ├── previousR.png │ │ ├── highlights.png │ │ ├── highlightsD.png │ │ ├── highlightsR.png │ │ ├── highlightsRS.png │ │ ├── highlightsS.png │ │ ├── overlay_info.png │ │ ├── overlay_error.png │ │ ├── overlay_attention.png │ │ ├── overlay_correct.png │ │ └── overlay_question.png │ ├── package-info.java │ ├── event │ │ ├── package-info.java │ │ ├── SearchableListener.java │ │ └── SidePaneListener.java │ ├── DraggableHandle.java │ ├── PartialSide.java │ ├── WholeWordsSupport.java │ ├── NavigationComponent.java │ ├── StringConverter.java │ ├── Resource.java │ ├── ShadowRenderer.java │ ├── Prioritized.java │ ├── TabEditingListener.java │ ├── OverlayComboBox.java │ ├── ResizableSupport.java │ ├── TopLevelMenuContainer.java │ ├── TabEditingValidator.java │ ├── OverlayTextField.java │ ├── AnimatorListener.java │ ├── OverlayPasswordField.java │ ├── TabColorProvider.java │ ├── SearchableProvider.java │ ├── OverlayTextArea.java │ ├── UndoableSupport.java │ ├── DelegateMouseMotionListener.java │ ├── OverlayableIconsFactory.java │ ├── Selectable.java │ ├── OverlayCheckBox.java │ ├── OverlayRadioButton.java │ ├── swing.properties │ └── ButtonStyle.java │ ├── dialog │ ├── icons │ │ ├── blank-16.gif │ │ ├── selected-b16.gif │ │ └── selected-c16.gif │ ├── package-info.java │ ├── ButtonResources.java │ ├── PageListener.java │ ├── ButtonListener.java │ ├── Laziness.java │ ├── TreeIconsFactory.java │ └── DialogPageListCellRenderer.java │ ├── plaf │ ├── basic │ │ ├── icons │ │ │ ├── home.png │ │ │ ├── new.png │ │ │ ├── delete.png │ │ │ ├── desktop.png │ │ │ ├── refresh.png │ │ │ └── myDocument.png │ │ ├── package-info.java │ │ ├── Resource.java │ │ ├── Painter.java │ │ ├── FolderToolBarListener.java │ │ ├── FolderChooserResource.java │ │ ├── folderChooser.properties │ │ ├── BasicFileSystemTreeCellRenderer.java │ │ └── LazyMutableTreeNode.java │ ├── aqua │ │ ├── icons │ │ │ ├── pressed.gif │ │ │ ├── rollover.gif │ │ │ └── selected.gif │ │ ├── package-info.java │ │ ├── AquaGripperUI.java │ │ ├── AquaJideSplitButtonUI.java │ │ └── AquaJidePopupMenuUI.java │ ├── xerto │ │ ├── icons │ │ │ ├── pressed.gif │ │ │ ├── pressed_c.gif │ │ │ ├── pressed_l.gif │ │ │ ├── rollover.gif │ │ │ ├── selected.gif │ │ │ ├── rollover_c.gif │ │ │ └── selected_c.gif │ │ ├── package-info.java │ │ └── XertoJideButtonUI.java │ ├── metro │ │ ├── icons │ │ │ ├── menu_item_bg.png │ │ │ └── menu_checkbox.png │ │ └── MetroUtils.java │ ├── office2010 │ │ └── icons │ │ │ ├── button.psd │ │ │ ├── button_bg.png │ │ │ ├── menu_item_bg.png │ │ │ ├── button_pressed.png │ │ │ ├── menu_checkbox.png │ │ │ ├── button_rollover.png │ │ │ └── button_selected.png │ ├── package-info.java │ ├── office2003 │ │ ├── Office2003Utils.java │ │ └── package-info.java │ ├── metal │ │ ├── package-info.java │ │ ├── MetalCheckBoxMenuItemUI.java │ │ └── MetalRadioButtonMenuItemUI.java │ ├── office2007 │ │ ├── icons │ │ │ ├── menu_item_bg.png │ │ │ └── menu_checkbox.png │ │ ├── package-info.java │ │ └── Office2007JideTabbedPaneUI.java │ ├── vsnet │ │ ├── package-info.java │ │ ├── ConvertListener.java │ │ ├── VsnetGripperUI.java │ │ ├── VsnetRadioButtonMenuItemUI.java │ │ ├── VsnetCheckBoxMenuItemUI.java │ │ └── HeaderCellBorder.java │ ├── windows │ │ ├── package-info.java │ │ └── WindowsJidePopupMenuUI.java │ ├── eclipse │ │ ├── package-info.java │ │ └── EclipsePopupMenuSeparatorUI.java │ ├── FolderChooserUI.java │ ├── JideButtonUI.java │ ├── LookAndFeelExtension.java │ ├── HeaderBoxUI.java │ ├── GripperUI.java │ ├── PopupUI.java │ └── SidePaneUI.java │ ├── popup │ └── package-info.java │ ├── spinner │ └── package-info.java │ ├── utils │ ├── package-info.java │ ├── ResourceProvider.java │ ├── FontFilesResource.java │ ├── RegistrationListener.java │ ├── DefaultWildcardSupport.java │ ├── HtmlUtils.java │ └── PersistenceUtilsCallback.java │ ├── hints │ └── package-info.java │ ├── comparator │ ├── package-info.java │ └── PrioritizedObjectComparator.java │ ├── grouper │ ├── package-info.java │ ├── date │ │ ├── package-info.java │ │ ├── DateDayOfYearGrouper.java │ │ ├── DateWeekOfYearGrouper.java │ │ └── DateYearGrouper.java │ ├── group.properties │ ├── GroupResources.java │ ├── AbstractObjectGrouper.java │ └── DefaultObjectGrouper.java │ ├── converter │ ├── package-info.java │ ├── Resource.java │ ├── converter.properties │ ├── RegistrationListener.java │ ├── CacheMap.java │ ├── StringConverter.java │ ├── CurrencyConverter.java │ ├── RegistrationEvent.java │ ├── NumberFormatConverter.java │ ├── FloatConverter.java │ ├── DoubleConverter.java │ ├── LongConverter.java │ ├── ByteConverter.java │ ├── ShortConverter.java │ ├── IntegerConverter.java │ ├── ConverterContextSupport.java │ ├── PercentConverter.java │ ├── FileConverter.java │ ├── BigDecimalConverter.java │ ├── NaturalNumberConverter.java │ └── ColorConverter.java │ ├── validation │ ├── package-info.java │ └── Validator.java │ └── range │ ├── package-info.java │ ├── AbstractNumericRange.java │ └── Positionable.java ├── docs ├── JIDE_Common_Layer_Developer_Guide.doc └── JIDE_Common_Layer_Developer_Guide.pdf ├── properties └── com │ └── jidesoft │ ├── converter │ ├── converter_sv.properties │ ├── converter_pt.properties │ ├── converter_pl.properties │ ├── converter_fr.properties │ ├── converter_no.properties │ ├── converter_zh_TW.properties │ ├── converter_it.properties │ ├── converter_es.properties │ ├── converter_da.properties │ ├── converter_de.properties │ ├── converter_fr_CA.properties │ ├── converter_nl.properties │ ├── converter_en.properties │ ├── converter_es_419.properties │ ├── converter_pt_BR.properties │ ├── converter_ja.properties │ ├── converter_ru.properties │ ├── converter_zh_CN.properties │ ├── converter_ko.properties │ ├── converter_iw.properties │ └── converter_ar.properties │ ├── grouper │ ├── group_de.properties │ ├── group_en.properties │ ├── group_pt_BR.properties │ ├── group_sv.properties │ ├── group_da.properties │ ├── group_nl.properties │ ├── group_no.properties │ ├── group_ja.properties │ ├── group_it.properties │ ├── group_ko.properties │ ├── group_es_419.properties │ ├── group_fr_CA.properties │ ├── group_zh_CN.properties │ ├── group_fr.properties │ ├── group_iw.properties │ ├── group_ar.properties │ └── group_ru.properties │ ├── plaf │ └── basic │ │ ├── folderChooser_sv.properties │ │ ├── folderChooser_no.properties │ │ ├── folderChooser_es.properties │ │ ├── folderChooser_pl.properties │ │ ├── folderChooser.properties │ │ ├── folderChooser_en.properties │ │ ├── folderChooser_da.properties │ │ ├── folderChooser_it.properties │ │ ├── folderChooser_nl.properties │ │ ├── folderChooser_pt_BR.properties │ │ ├── folderChooser_fr.properties │ │ ├── folderChooser_de.properties │ │ ├── folderChooser_es_419.properties │ │ ├── folderChooser_fr_CA.properties │ │ ├── folderChooser_zh_CN.properties │ │ ├── folderChooser_zh_TW.properties │ │ └── folderChooser_ko.properties │ └── swing │ ├── swing_ha_NG.properties │ ├── swing_en_CA.properties │ ├── swing_en_UK.properties │ ├── swing_sl_SI.properties │ ├── swing_no_NO.properties │ ├── swing_fi_FI.properties │ ├── swing_eu_ES.properties │ ├── swing_gl_ES.properties │ ├── swing_hr_HR.properties │ ├── swing_no.properties │ ├── swing_sv.properties │ ├── swing_da.properties │ ├── swing_en.properties │ ├── swing_pl_PL.properties │ ├── swing_es.properties │ ├── swing_hu_HU.properties │ ├── swing_nl.properties │ ├── swing_ca_ES.properties │ ├── swing_es_MX.properties │ └── swing_de.properties ├── src-apple └── README.txt ├── sonatype.txt ├── Readme JDK9.txt ├── .project ├── test └── com │ └── jidesoft │ ├── converter │ ├── ObjectConverterManagerTest.java │ └── TestEnumConverter.java │ ├── utils │ ├── TestBigDecimalMathUtils.java │ └── TestFontUtils.java │ └── swing │ ├── RangeSliderTest.java │ └── TestResizableWindow.java ├── examples └── README_examples └── JIDE Common Layer.iml /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | rootProject.name = "jide-oss" 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /build/ 3 | /.gradle/ 4 | /.idea/ -------------------------------------------------------------------------------- /libs/ui.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/libs/ui.jar -------------------------------------------------------------------------------- /libs/junit-4.10.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/libs/junit-4.10.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/save.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/CheckBoxListModel.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | public interface CheckBoxListModel { 4 | } 5 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/next.png -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/jide32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/jide32.png -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/jide50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/jide50.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/close.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/closeR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/closeR.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/error.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/nextD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/nextD.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/nextR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/nextR.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/repeat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/repeat.png -------------------------------------------------------------------------------- /docs/JIDE_Common_Layer_Developer_Guide.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/docs/JIDE_Common_Layer_Developer_Guide.doc -------------------------------------------------------------------------------- /docs/JIDE_Common_Layer_Developer_Guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/docs/JIDE_Common_Layer_Developer_Guide.pdf -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/icons/blank-16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/dialog/icons/blank-16.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_tab.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/file_html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/file_html.png -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/file_java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/file_java.png -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/file_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/file_text.png -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/jide_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/jide_logo.png -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/view_html.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/view_html.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/icons/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/basic/icons/home.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/icons/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/basic/icons/new.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/previous.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/previousD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/previousD.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/previousR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/previousR.png -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_delete.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_drag.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_drag.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_east.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_east.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_float.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_float.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_north.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_north.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_south.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_south.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_west.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_west.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/direction_dot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/direction_dot.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/direction_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/direction_up.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/view_design.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/view_design.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/aqua/icons/pressed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/aqua/icons/pressed.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/aqua/icons/rollover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/aqua/icons/rollover.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/aqua/icons/selected.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/aqua/icons/selected.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/icons/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/basic/icons/delete.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/icons/desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/basic/icons/desktop.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/icons/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/basic/icons/refresh.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/icons/pressed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/xerto/icons/pressed.gif -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/highlights.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/highlights.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/highlightsD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/highlightsD.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/highlightsR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/highlightsR.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/highlightsRS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/highlightsRS.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/highlightsS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/highlightsS.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/overlay_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/overlay_info.png -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/icons/selected-b16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/dialog/icons/selected-b16.gif -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/icons/selected-c16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/dialog/icons/selected-c16.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_h_split.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_h_split.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_v_split.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_v_split.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_vertical.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_vertical.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/direction_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/direction_down.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/direction_left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/direction_left.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/direction_right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/direction_right.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_1.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_2.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_3.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_4.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_5.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_6.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_7.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_8.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_9.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/jide_logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/jide_logo_small.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/icons/pressed_c.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/xerto/icons/pressed_c.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/icons/pressed_l.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/xerto/icons/pressed_l.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/icons/rollover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/xerto/icons/rollover.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/icons/selected.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/xerto/icons/selected.gif -------------------------------------------------------------------------------- /src/com/jidesoft/popup/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains JidePopup class for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.popup; -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/overlay_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/overlay_error.png -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_sv.properties: -------------------------------------------------------------------------------- 1 | # @(#) converter_sv.properties 2 | 3 | 4 | Boolean.true=Sant 5 | Boolean.false=Falskt 6 | -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_drag_stop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_drag_stop.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_drag_text.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_drag_text.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_horizontal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_horizontal.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_move_east.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_move_east.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_move_west.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_move_west.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_percentage.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_percentage.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_10.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_11.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_12.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_13.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_14.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_15.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_16.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_17.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_18.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_19.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_20.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/jide_logo_small_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/jide_logo_small_2.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/icons/myDocument.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/basic/icons/myDocument.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/metro/icons/menu_item_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/metro/icons/menu_item_bg.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2010/icons/button.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2010/icons/button.psd -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains additional ComponentUI for JIDE components. 3 | */ 4 | package com.jidesoft.plaf; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/icons/rollover_c.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/xerto/icons/rollover_c.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/icons/selected_c.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/xerto/icons/selected_c.gif -------------------------------------------------------------------------------- /src/com/jidesoft/spinner/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains several spinners for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.spinner; -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/overlay_attention.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/overlay_attention.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/overlay_correct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/overlay_correct.png -------------------------------------------------------------------------------- /src/com/jidesoft/swing/icons/overlay_question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/swing/icons/overlay_question.png -------------------------------------------------------------------------------- /src/com/jidesoft/utils/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains several utililities for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.utils; -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_pt.properties: -------------------------------------------------------------------------------- 1 | # @(#) converter_pt.properties 2 | 3 | 4 | Boolean.true=Verdadeiro 5 | Boolean.false=Falso 6 | -------------------------------------------------------------------------------- /src/com/jidesoft/hints/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains classes for IntelliHints for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.hints; -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/dockableframe_blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/dockableframe_blank.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/menu_checkbox_vsnet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/menu_checkbox_vsnet.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains classes related to icons for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.icons; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/metro/icons/menu_checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/metro/icons/menu_checkbox.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2003/Office2003Utils.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.plaf.office2003; 2 | 3 | /** 4 | */ 5 | public class Office2003Utils { 6 | } 7 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2010/icons/button_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2010/icons/button_bg.png -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains classes related to JDialog for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.dialog; -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/cursor_drag_text_stop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/cursor_drag_text_stop.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/menu_checkbox_eclipse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/menu_checkbox_eclipse.gif -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/menu_radiobutton_vsnet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/menu_radiobutton_vsnet.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/aqua/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation for Aqua style. 3 | */ 4 | package com.jidesoft.plaf.aqua; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/metal/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation for Metal style. 3 | */ 4 | package com.jidesoft.plaf.metal; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2007/icons/menu_item_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2007/icons/menu_item_bg.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2010/icons/menu_item_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2010/icons/menu_item_bg.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/vsnet/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation for VSNET style. 3 | */ 4 | package com.jidesoft.plaf.vsnet; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation for Xerto style. 3 | */ 4 | package com.jidesoft.plaf.xerto; -------------------------------------------------------------------------------- /src/com/jidesoft/comparator/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains all kinds of comparators for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.comparator; -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains all kinds of object groupers for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.grouper; -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/menu_radiobutton_eclipse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/menu_radiobutton_eclipse.gif -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2007/icons/menu_checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2007/icons/menu_checkbox.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2010/icons/button_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2010/icons/button_pressed.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2010/icons/menu_checkbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2010/icons/menu_checkbox.png -------------------------------------------------------------------------------- /src-apple/README.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Fake apple / com.apple source code (from openjdk) to let jide-oss build on jdk8 3 | # 4 | # these classes are not packaged in jide-oss-x.y.jar 5 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains all kinds of object converters for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.converter; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2010/icons/button_rollover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2010/icons/button_rollover.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2010/icons/button_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/plaf/office2010/icons/button_selected.png -------------------------------------------------------------------------------- /src/com/jidesoft/validation/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains classes related to validation for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.validation; -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/windows_new_vertical_tab_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/windows_new_vertical_tab_group.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2003/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation for Office2003 style. 3 | */ 4 | package com.jidesoft.plaf.office2003; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2007/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation for Office2007 style. 3 | */ 4 | package com.jidesoft.plaf.office2007; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/windows/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation specific for Windows L&F. 3 | */ 4 | package com.jidesoft.plaf.windows; -------------------------------------------------------------------------------- /src/com/jidesoft/swing/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains many based classes we added on top of Swing for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.swing; -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/date/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains all kinds of date object groupers for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.grouper.date; -------------------------------------------------------------------------------- /src/com/jidesoft/icons/jide/windows_new_horizontal_tab_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JFormDesigner/jide-oss/HEAD/src/com/jidesoft/icons/jide/windows_new_horizontal_tab_group.png -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/eclipse/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains ComponentUI implementation for Eclipse and Eclipse3x style. 3 | */ 4 | package com.jidesoft.plaf.eclipse; -------------------------------------------------------------------------------- /src/com/jidesoft/range/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains classes related to Range for JIDE Charts and JIDE Gantt Chart product. 3 | */ 4 | package com.jidesoft.range; -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains basic ComponentUI implementation for most of the JIDE components. 3 | */ 4 | package com.jidesoft.plaf.basic; -------------------------------------------------------------------------------- /src/com/jidesoft/swing/event/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * The package contains events for components under com.jidesoft.swing package for JIDE Common Layer. 3 | */ 4 | package com.jidesoft.swing.event; -------------------------------------------------------------------------------- /libs/README_lib: -------------------------------------------------------------------------------- 1 | The ui.jar is part of JDK distribution on Mac OSX from Apple Inc. 2 | We included this jar here only to make our source code compile. You shouldn't include 3 | them in your release no matter your application supports Mac OS X. -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /sonatype.txt: -------------------------------------------------------------------------------- 1 | mvn deploy:deploy-file -DgroupId=com.jidesoft -DartifactId=jide-oss -Dversion=3.7.6 -DgeneratePom=true -Dpackaging=jar -DrepositoryId=sonatype-nexus-staging -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -Dfile=./target/jide-oss-3.7.6.jar -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/FolderChooserUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)FolderChooserUI.java 10/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf; 7 | 8 | public interface FolderChooserUI { 9 | } 10 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/JideButtonUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | */ 3 | package com.jidesoft.plaf; 4 | 5 | import javax.swing.plaf.ButtonUI; 6 | 7 | /** 8 | * Pluggable look and feel interface for JButton. 9 | */ 10 | public abstract class JideButtonUI extends ButtonUI { 11 | } 12 | 13 | -------------------------------------------------------------------------------- /src/com/jidesoft/utils/ResourceProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ResourceProvider.java 11/15/2008 3 | * 4 | * Copyright 2002 - 2008 JIDE Software Inc. All rights reserved. 5 | * 6 | */ 7 | 8 | package com.jidesoft.utils; 9 | 10 | public interface ResourceProvider { 11 | String getResourceString(String key); 12 | } 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_pl.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Tak 5 | Boolean.false=Nie 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Normalny 11 | Font.bold=Pogrubiony 12 | Font.italic=Pochylony 13 | Font.boldItalic=Pogrubiony i pochylony 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/group.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Day of Year 5 | Date.dayOfMonth=Day of Month 6 | Date.dayOfWeek=Day of Week 7 | Date.dayOfWeekInMonth=Day of Week in Month 8 | Date.weekOfMonth=Week of Month 9 | Date.weekOfYear=Week of Year 10 | Date.year=Year 11 | Date.month=Month 12 | Date.quarter=Quarter -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/LookAndFeelExtension.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)LookAndFeelExtension.java 4/8/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf; 7 | 8 | import com.jidesoft.utils.ProductNames; 9 | 10 | /** 11 | */ 12 | public interface LookAndFeelExtension extends ProductNames { 13 | } 14 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_de.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Tag des Jahres 5 | Date.dayOfMonth=Tag des Monats 6 | Date.dayOfWeek=Wochentag 7 | Date.dayOfWeekInMonth=Wochentag in Monat 8 | Date.weekOfMonth=Woche des Monats 9 | Date.weekOfYear=Kalenderwoche 10 | Date.year=Jahr 11 | Date.month=Monat 12 | Date.quarter=Quartal 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_en.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Day of Year 5 | Date.dayOfMonth=Day of Month 6 | Date.dayOfWeek=Day of Week 7 | Date.dayOfWeekInMonth=Day of Week in Month 8 | Date.weekOfMonth=Week of Month 9 | Date.weekOfYear=Week of Year 10 | Date.year=Year 11 | Date.month=Month 12 | Date.quarter=Quarter -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_fr.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Oui 5 | Boolean.false=Non 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Simple 11 | Font.bold=Gras 12 | Font.italic=Italique 13 | Font.boldItalic=GrasItalique 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Tr {0} 19 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_pt_BR.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Dia do ano 5 | Date.dayOfMonth=Dia do m\u00EAs 6 | Date.dayOfWeek=Dia da semana 7 | Date.dayOfWeekInMonth=Dia da semana no m\u00EAs 8 | Date.weekOfMonth=Semana do m\u00EAs 9 | Date.weekOfYear=Semana do ano 10 | Date.year=Ano 11 | Date.month=M\u00EAs 12 | Date.quarter=Trimestre 13 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/DraggableHandle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#) DragableHandle.java 3 | * Last modified date: 2/9/2005 4 | * 5 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 6 | */ 7 | package com.jidesoft.swing; 8 | 9 | /** 10 | * An interface to indicate a component can be used as a handle to be drag. 11 | */ 12 | public interface DraggableHandle { 13 | } 14 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_sv.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Dag i \u00E5r 5 | Date.dayOfMonth=Dag i m\u00E5nad 6 | Date.dayOfWeek=Dag i vecka 7 | Date.dayOfWeekInMonth=Dag i vecka i m\u00E5nad 8 | Date.weekOfMonth=Vecka i m\u00E5nad 9 | Date.weekOfYear=Vecka i \u00E5r 10 | Date.year=\u00C5r 11 | Date.month=M\u00E5nad 12 | Date.quarter=Kvartal 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_da.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Dag i \u00E5ret 5 | Date.dayOfMonth=Dag i m\u00E5neden 6 | Date.dayOfWeek=Dag i ugen 7 | Date.dayOfWeekInMonth=Dag i ugen i m\u00E5neden 8 | Date.weekOfMonth=Uge i m\u00E5neden 9 | Date.weekOfYear=Uge i \u00E5ret 10 | Date.year=\u00C5r 11 | Date.month=M\u00E5ned 12 | Date.quarter=Kvartal 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_nl.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Dag van het jaar 5 | Date.dayOfMonth=Dag van de maand 6 | Date.dayOfWeek=Dag van de week 7 | Date.dayOfWeekInMonth=Dag van de week in de maand 8 | Date.weekOfMonth=Week van de maand 9 | Date.weekOfYear=Week van het jaar 10 | Date.year=Jaar 11 | Date.month=Maand 12 | Date.quarter=Kwartaal 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_no.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Dag i \u00E5ret 5 | Date.dayOfMonth=Dag i m\u00E5neden 6 | Date.dayOfWeek=Dag i uken 7 | Date.dayOfWeekInMonth=Dag i uken i m\u00E5neden 8 | Date.weekOfMonth=Uge i m\u00E5neden 9 | Date.weekOfYear=Uke i \u00E5ret 10 | Date.year=\u00C5r 11 | Date.month=M\u00E5ned 12 | Date.quarter=Kvartal 13 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/HeaderBoxUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)HeaderBoxUI.java 4/27/2006 3 | * 4 | * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf; 8 | 9 | import javax.swing.plaf.ButtonUI; 10 | 11 | /** 12 | * Pluggable look and feel interface for HeaderBox. 13 | */ 14 | public abstract class HeaderBoxUI extends ButtonUI { 15 | } 16 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/GripperUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#) GripperUI.java 3 | * Last modified date: 2/1/2005 4 | * 5 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 6 | */ 7 | package com.jidesoft.plaf; 8 | 9 | import javax.swing.plaf.ComponentUI; 10 | 11 | /** 12 | * UI class for Gripper. 13 | */ 14 | public abstract class GripperUI extends ComponentUI { 15 | } 16 | 17 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_ja.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=\u5E74\u306E\u65E5 5 | Date.dayOfMonth=\u6708\u306E\u65E5 6 | Date.dayOfWeek=\u66DC\u65E5 7 | Date.dayOfWeekInMonth=\u6708\u306E\u66DC\u65E5 8 | Date.weekOfMonth=\u6708\u306E\u9031 9 | Date.weekOfYear=\u5E74\u306E\u9031 10 | Date.year=\u5E74 11 | Date.month=\u6708 12 | Date.quarter=\u56DB\u534A\u671F 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_it.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Giorno dell'anno 5 | Date.dayOfMonth=Giorno del mese 6 | Date.dayOfWeek=Giorno della settimana 7 | Date.dayOfWeekInMonth=Giorno della settimana nel mese 8 | Date.weekOfMonth=Settimana del mese 9 | Date.weekOfYear=Settimana dell'anno 10 | Date.year=Anno 11 | Date.month=Mese 12 | Date.quarter=Quarter -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_ko.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=\uC5F0\uC911 \uC77C 5 | Date.dayOfMonth=\uC6D4\uC911 \uC77C 6 | Date.dayOfWeek=\uC8FC\uC911 \uC77C 7 | Date.dayOfWeekInMonth=\uC6D4\uC911 \uC694\uC77C 8 | Date.weekOfMonth=\uC6D4\uC911 \uC8FC 9 | Date.weekOfYear=\uC5F0\uC911 \uC8FC 10 | Date.year=\uB144 11 | Date.month=\uC6D4 12 | Date.quarter=\uBD84\uAE30 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_es_419.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=D\u00EDa del a\u00F1o 5 | Date.dayOfMonth=D\u00EDa del mes 6 | Date.dayOfWeek=D\u00EDa de la semana 7 | Date.dayOfWeekInMonth=D\u00EDa de la semana en el mes 8 | Date.weekOfMonth=Semana del mes 9 | Date.weekOfYear=Semana del a\u00F1o 10 | Date.year=A\u00F1o 11 | Date.month=Mes 12 | Date.quarter=Trimestre 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_fr_CA.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=Jour de l'ann\u00E9e 5 | Date.dayOfMonth=\uFEFFJour du mois 6 | Date.dayOfWeek=Jour de la semaine 7 | Date.dayOfWeekInMonth=Jour de semaine dans le mois 8 | Date.weekOfMonth=Semaine du mois 9 | Date.weekOfYear=Semaine de l'ann\u00E9e 10 | Date.year=Ann\u00E9e 11 | Date.month=Mois 12 | Date.quarter=Trimestre 13 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_no.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Sann 5 | Boolean.false=Falsk 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Normal 11 | Font.bold=Fet 12 | Font.italic=Kursiv 13 | Font.boldItalic=Fet kursiv 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Plesae note, there is a space at the end of Qtr. 20 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/PartialSide.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | /** 4 | */ 5 | public interface PartialSide { 6 | static final int NORTH = 1; 7 | static final int SOUTH = 2; 8 | static final int EAST = 4; 9 | static final int WEST = 8; 10 | static final int HORIZONTAL = NORTH | SOUTH; 11 | static final int VERTICAL = EAST | WEST; 12 | static final int ALL = VERTICAL | HORIZONTAL; 13 | } 14 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_zh_TW.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=TRUE 5 | Boolean.false=FALSE 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=\u6b63\u5e38 11 | Font.bold=\u52a0\u7c97 12 | Font.italic=\u50be\u659c 13 | Font.boldItalic=\u52a0\u7c97\u50be\u659c 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=\u7b2c{0}\u5b63\u5ea6 19 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_it.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Vero 5 | Boolean.false=Falso 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Normale 11 | Font.bold=Grassetto 12 | Font.italic=Corsivo 13 | Font.boldItalic=Corsivo/Grassetto 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. -------------------------------------------------------------------------------- /src/com/jidesoft/swing/WholeWordsSupport.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)WholeWordsSupport.java 2/6/2013 3 | * 4 | * Copyright 2002 - 2013 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | /** 10 | * An interface to support whole words. 11 | * 12 | * @since 3.5.2 13 | */ 14 | public interface WholeWordsSupport { 15 | public boolean isWholeWords(); 16 | 17 | public void setWholeWords(boolean wholeWords); 18 | } 19 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/NavigationComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)NavigationComponent.java 11/6/2011 3 | * 4 | * Copyright 2002 - 2011 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | /** 10 | * A markup interface to indicate a component is for the navigation. All navigation components have 11 | * a consistent rollover and selection style. 12 | */ 13 | public interface NavigationComponent { 14 | } 15 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/vsnet/ConvertListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ConvertListener.java 3 | * 4 | * Copyright 2002 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.vsnet; 7 | 8 | 9 | /** 10 | * Convert multiple objects into one object. Used by ExtDesktopProperty. 11 | * 12 | * @see com.jidesoft.plaf.ExtWindowsDesktopProperty 13 | */ 14 | public interface ConvertListener { 15 | Object convert(Object[] obj); 16 | } 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/PopupUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#) PopupUI.java 3 | * Last modified date: 2/9/2005 4 | * 5 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 6 | */ 7 | package com.jidesoft.plaf; 8 | 9 | import javax.swing.plaf.ComponentUI; 10 | import java.awt.*; 11 | 12 | /** 13 | * ComponentUI for PopupUI. 14 | */ 15 | public abstract class PopupUI extends ComponentUI { 16 | abstract public Component getGripper(); 17 | } 18 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_es.properties: -------------------------------------------------------------------------------- 1 | # @(#) converter_es.properties 2 | 3 | 4 | Boolean.true=Verdadero 5 | Boolean.false=Falso 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Sin formato 11 | Font.bold=Cursiva 12 | Font.italic=Cursiva 13 | Font.boldItalic=CursivaNegrita 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Cuarto {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_da.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Sand 5 | Boolean.false=Falsk 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Normal 11 | Font.bold=Fed 12 | Font.italic=Kursiv 13 | Font.boldItalic=Fed kursiv 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(Flere) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_de.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Ja 5 | Boolean.false=Nein 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Normal 11 | Font.bold=Fett 12 | Font.italic=Kursiv 13 | Font.boldItalic=Fett kursiv 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Quartal {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(Mehrfach) 23 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/event/SearchableListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)SearchableListener.java 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing.event; 8 | 9 | import java.util.EventListener; 10 | 11 | /** 12 | * The listener interface for receiving searchable events. 13 | */ 14 | public interface SearchableListener extends EventListener { 15 | public void searchableEventFired(SearchableEvent e); 16 | } 17 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_fr_CA.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Vrai 5 | Boolean.false=Faux 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Simple 11 | Font.bold=Gras 12 | Font.italic=Italique 13 | Font.boldItalic=Gras italique 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(Multiple) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_nl.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Waar 5 | Boolean.false=Onwaar 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Normaal 11 | Font.bold=Vet 12 | Font.italic=Cursief 13 | Font.boldItalic=Vet/cursief 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(Meervoudig) 23 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/Resource.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.converter; 2 | 3 | import java.util.Locale; 4 | import java.util.ResourceBundle; 5 | 6 | class Resource { 7 | static final String BASENAME = "com.jidesoft.converter.converter"; 8 | 9 | static final ResourceBundle RB = ResourceBundle.getBundle(BASENAME); 10 | 11 | public static ResourceBundle getResourceBundle(Locale locale) { 12 | return ResourceBundle.getBundle(BASENAME, locale); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/converter.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=True 5 | Boolean.false=False 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Plain 11 | Font.bold=Bold 12 | Font.italic=Italic 13 | Font.boldItalic=BoldItalic 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(Multiple) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_en.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=True 5 | Boolean.false=False 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Plain 11 | Font.bold=Bold 12 | Font.italic=Italic 13 | Font.boldItalic=BoldItalic 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(Multiple) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_es_419.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Verdadero 5 | Boolean.false=Falso 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Llanura 11 | Font.bold=Negrita 12 | Font.italic=Cursiva 13 | Font.boldItalic=Negrita cursiva 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Trim {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(M\u00FAltiple) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_zh_CN.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=\u6BCF\u5E74\u7684\u7B2C\u51E0\u5929 5 | Date.dayOfMonth=\u6BCF\u6708\u7684\u7B2C\u51E0\u5929 6 | Date.dayOfWeek=\u6BCF\u5468\u7684\u7B2C\u51E0\u5929 7 | Date.dayOfWeekInMonth=\u6BCF\u6708\u7684\u7B2C\u51E0\u4E2A\u5468\u51E0 8 | Date.weekOfMonth=\u6BCF\u6708\u7684\u7B2C\u51E0\u5468 9 | Date.weekOfYear=\u6BCF\u5E74\u7684\u7B2C\u51E0\u5468 10 | Date.year=\u5E74 11 | Date.month=\u6708 12 | Date.quarter=\u65E5 13 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/Resource.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.plaf.basic; 2 | 3 | import java.util.Locale; 4 | import java.util.ResourceBundle; 5 | 6 | /** 7 | */ 8 | public class Resource { 9 | static final String BASENAME = "com.jidesoft.plaf.basic.basic"; 10 | 11 | static final ResourceBundle RB = ResourceBundle.getBundle(BASENAME); 12 | 13 | public static ResourceBundle getResourceBundle(Locale locale) { 14 | return ResourceBundle.getBundle(BASENAME, locale); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_pt_BR.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=Verdadeiro 5 | Boolean.false=Falso 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=Sem Formata\u00E7\u00E3o 11 | Font.bold=Negrito 12 | Font.italic=It\u00E1lico 13 | Font.boldItalic=NegritoIt\u00E1lico 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(V\u00E1rios) 23 | -------------------------------------------------------------------------------- /Readme JDK9.txt: -------------------------------------------------------------------------------- 1 | --add-exports java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED --add-exports java.desktop/javax.swing.plaf.synth=ALL-UNNAMED --add-exports java.desktop/sun.swing=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.awt.image=ALL-UNNAMED --add-exports java.desktop/sun.awt.shell=ALL-UNNAMED --add-exports java.desktop/sun.awt.dnd=ALL-UNNAMED --add-exports java.desktop/sun.awt.windows=ALL-UNNAMED --add-exports java.base/sun.security.action=ALL-UNNAMED 2 | 3 | Remove xerces.jar from the classpath -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_ja.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=True 5 | Boolean.false=False 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=\u30D7\u30EC\u30FC\u30F3 11 | Font.bold=\u592A\u5B57 12 | Font.italic=\u659C\u4F53 13 | Font.boldItalic=\u592A\u5B57\u659C\u4F53 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(\u8907\u6570) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_fr.properties: -------------------------------------------------------------------------------- 1 | # 2 | # @(#)group_fr.properties 6/1/2010 3 | # 4 | # Copyright 2002 - 2010 JIDE Software Inc. All rights reserved. 5 | # 6 | 7 | # 8 | # Date related Grouper names 9 | # 10 | Date.dayOfYear=Jour de l'ann\u00e9e 11 | Date.dayOfMonth=Jour du mois 12 | Date.dayOfWeek=Jour de la semaine 13 | Date.dayOfWeekInMonth=Jour de la semaine dans le mois 14 | Date.weekOfMonth=Semaine du mois 15 | Date.weekOfYear=Semaine de l'ann\u00e9e 16 | Date.year=Ann\u00e9e 17 | Date.month=Mois 18 | Date.quarter=Trimestre -------------------------------------------------------------------------------- /src/com/jidesoft/converter/RegistrationListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)RegistractionListener.java 3/20/2012 3 | * 4 | * Copyright 2002 - 2012 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.converter; 8 | 9 | /** 10 | * This class was moved to com.jidesoft.utils since 3.3.7 release. 11 | * 12 | * @deprecated please use the one at com.jidesoft.utils.RegistrationListener. 13 | */ 14 | @Deprecated 15 | public interface RegistrationListener extends com.jidesoft.utils.RegistrationListener { 16 | } 17 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_ru.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=\u0414\u0430 5 | Boolean.false=\u041d\u0435\u0442 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=\u041e\u0431\u044b\u0447\u043d\u044b\u0439 11 | Font.bold=\u0416\u0438\u0440\u043d\u044b\u0439 12 | Font.italic=\u041a\u0443\u0440\u0441\u0438\u0432 13 | Font.boldItalic=\u0416\u0438\u0440\u043d\u044b\u0439\u041a\u0443\u0440\u0441\u0438\u0432 14 | 15 | 16 | Quarter.quarter = \u041A\u0432\u0440\u0442. {0} 17 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_zh_CN.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=\u771F 5 | Boolean.false=\u5047 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=\u6B63\u5E38 11 | Font.bold=\u52A0\u7C97 12 | Font.italic=\u503E\u659C 13 | Font.boldItalic=\u52A0\u7C97\u503E\u659C 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=\u7B2C{0}\u5B63\u5EA6 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(\u591A\u91CD) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_ko.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=True 5 | Boolean.false=False 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=\uBCF4\uD1B5 11 | Font.bold=\uAD75\uAC8C 12 | Font.italic=\uC774\uD0C8\uB9AD\uCCB4 13 | Font.boldItalic=\uAD75\uC740 \uC774\uD0C8\uB9AD\uCCB4 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=Qtr {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(\uBCF5\uC218\uC758) 23 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/vsnet/VsnetGripperUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)VsnetCommandBarSeparatorUI.java 3 | * 4 | * Copyright 2002 JIDE Software. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.vsnet; 7 | 8 | import com.jidesoft.plaf.basic.BasicGripperUI; 9 | 10 | import javax.swing.*; 11 | import javax.swing.plaf.ComponentUI; 12 | 13 | /** 14 | */ 15 | public class VsnetGripperUI extends BasicGripperUI { 16 | public static ComponentUI createUI(JComponent c) { 17 | return new VsnetGripperUI(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/CacheMap.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)CacheMap.java 3/20/2012 3 | * 4 | * Copyright 2002 - 2012 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.converter; 8 | 9 | /** 10 | * This class was moved to com.jidesoft.utils since 3.3.7 release. 11 | * 12 | * @deprecated please use the one at com.jidesoft.utils.CacheMap. 13 | */ 14 | @Deprecated 15 | public class CacheMap extends com.jidesoft.utils.CacheMap { 16 | public CacheMap(K defaultContext) { 17 | super(defaultContext); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/ButtonResources.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.dialog; 2 | 3 | import java.util.Locale; 4 | import java.util.ResourceBundle; 5 | 6 | /** 7 | * Resource class for defines commonly used buttons 8 | */ 9 | public class ButtonResources { 10 | static final String BASENAME = "com.jidesoft.dialog.buttons"; 11 | 12 | static final ResourceBundle RB = ResourceBundle.getBundle(BASENAME); 13 | 14 | public static ResourceBundle getResourceBundle(Locale locale) { 15 | return ResourceBundle.getBundle(BASENAME, locale); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/StringConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)StringConverter.java 3/28/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | /** 10 | * An interface to convert a string to anther one. 11 | */ 12 | public interface StringConverter { 13 | /** 14 | * Convert a string to another string, for example, to make it shorter. 15 | * 16 | * @param str string to be converted 17 | * @return string after conversion 18 | */ 19 | String convert(String str); 20 | } 21 | -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/PageListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)PageListener.java 1.10 03/01/23 3 | * 4 | * Copyright 2002 - 2003 JIDE Software. All rights reserved. 5 | */ 6 | package com.jidesoft.dialog; 7 | 8 | 9 | import java.util.EventListener; 10 | 11 | 12 | /** 13 | * Defines a listener interface which listens for PageEvent. 14 | */ 15 | public interface PageListener extends EventListener { 16 | /** 17 | * Invoked when the target of the listener has fired a page event. 18 | * 19 | * @param e a PageEvent object 20 | */ 21 | void pageEventFired(PageEvent e); 22 | } 23 | 24 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/Resource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)Resource.java 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.swing; 7 | 8 | import java.util.Locale; 9 | import java.util.ResourceBundle; 10 | 11 | class Resource { 12 | static final String BASENAME = "com.jidesoft.swing.swing"; 13 | 14 | static final ResourceBundle RB = ResourceBundle.getBundle(BASENAME); 15 | 16 | public static ResourceBundle getResourceBundle(Locale locale) { 17 | return ResourceBundle.getBundle(BASENAME, locale); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/ButtonListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ButtonListener.java 3 | * 4 | * Copyright 2002 - 2003 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.dialog; 7 | 8 | 9 | import java.util.EventListener; 10 | 11 | 12 | /** 13 | * The listener interface for receiving button events. 14 | */ 15 | public interface ButtonListener extends EventListener { 16 | /** 17 | * Invoked when the target of the listener request button to change state. 18 | * 19 | * @param e a ButtonEvent object 20 | */ 21 | void buttonEventFired(ButtonEvent e); 22 | } 23 | 24 | -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/Laziness.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)Laziness.java 3 | * 4 | * Copyright 2002 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.dialog; 7 | 8 | /** 9 | * An interface to indicate something can be initialized lazily. 10 | */ 11 | public interface Laziness { 12 | 13 | /** 14 | * This method must be implemented by any child class. Instead of putting 15 | * initialization code in constructor, user should put code in this method 16 | * in order to taking advantage of lazy loading. 17 | */ 18 | abstract void lazyInitialize(); 19 | } 20 | -------------------------------------------------------------------------------- /src/com/jidesoft/range/AbstractNumericRange.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)AbstractNumericRange.java 3 | * 4 | * 2002 - 2012 JIDE Software Incorporated. All rights reserved. 5 | * Copyright (c) 2005 - 2012 Catalysoft Limited. All rights reserved. 6 | */ 7 | 8 | package com.jidesoft.range; 9 | 10 | /** 11 | * An abstract class as the superclass of numeric ranges 12 | * 13 | * @author Simon White (swhite@catalysoft.com) 14 | */ 15 | public abstract class AbstractNumericRange extends AbstractRange { 16 | 17 | public AbstractNumericRange() { 18 | super(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/com/jidesoft/utils/FontFilesResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)FontFilesResource.java 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.utils; 7 | 8 | import java.util.Locale; 9 | import java.util.ResourceBundle; 10 | 11 | class FontFilesResource { 12 | static final String BASENAME = "fonts.fontfiles"; 13 | 14 | static final ResourceBundle RB = ResourceBundle.getBundle(BASENAME); 15 | 16 | public static ResourceBundle getResourceBundle(Locale locale) { 17 | return ResourceBundle.getBundle(BASENAME, locale); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/ShadowRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ShadowRenderer.java 9/3/2012 3 | * 4 | * Copyright 2002 - 2012 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.swing; 7 | 8 | import java.awt.image.BufferedImage; 9 | 10 | /** 11 | * An interface for adding a shadow to an in-memory image 12 | */ 13 | public interface ShadowRenderer { 14 | /** 15 | * Creates and returns a shadow image based on the supplied image 16 | * 17 | * @param image 18 | * 19 | * @return 20 | */ 21 | public BufferedImage createShadow(final BufferedImage image); 22 | } 23 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/Painter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)Painter.java 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.basic; 7 | 8 | import javax.swing.*; 9 | import javax.swing.plaf.UIResource; 10 | import java.awt.*; 11 | 12 | /** 13 | * An interface which can be used to paint any area. The main usage of this interface is to 14 | * allow user to customize certain UI elements by adding it to UIManager. 15 | */ 16 | public interface Painter extends UIResource { 17 | void paint(JComponent c, Graphics g, Rectangle rect, int orientation, int state); 18 | } 19 | -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/GroupResources.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)GroupResources.java 5/19/2006 3 | * 4 | * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.grouper; 8 | 9 | import java.util.Locale; 10 | import java.util.ResourceBundle; 11 | 12 | public class GroupResources { 13 | static final String BASENAME = "com.jidesoft.grouper.group"; 14 | 15 | static final ResourceBundle RB = ResourceBundle.getBundle(BASENAME); 16 | 17 | public static ResourceBundle getResourceBundle(Locale locale) { 18 | return ResourceBundle.getBundle(BASENAME, locale); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_iw.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=\u05D0\u05DE\u05EA 5 | Boolean.false=\u05E9\u05E7\u05E8 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=\u05E8\u05D2\u05D9\u05DC 11 | Font.bold=\u05DE\u05D5\u05D3\u05D2\u05E9 12 | Font.italic=\u05E0\u05D8\u05D5\u05D9 13 | Font.boldItalic=\u05DE\u05D5\u05D3\u05D2\u05E9 \u05E0\u05D8\u05D5\u05D9 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=\u05E8\u05D1\u05E2 {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(\u05DE\u05E8\u05D5\u05D1\u05D4) 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_iw.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=\u05D9\u05D5\u05DD \u05D1\u05E9\u05E0\u05D4 5 | Date.dayOfMonth=\u05D9\u05D5\u05DD \u05D1\u05D7\u05D5\u05D3\u05E9 6 | Date.dayOfWeek=\u05D9\u05D5\u05DD \u05D1\u05E9\u05D1\u05D5\u05E2 7 | Date.dayOfWeekInMonth=\u05D9\u05D5\u05DD \u05D1\u05E9\u05D1\u05D5\u05E2 \u05D1\u05D7\u05D5\u05D3\u05E9 8 | Date.weekOfMonth=\u05E9\u05D1\u05D5\u05E2 \u05D1\u05D7\u05D5\u05D3\u05E9 9 | Date.weekOfYear=\u05E9\u05D1\u05D5\u05E2 \u05D1\u05E9\u05E0\u05D4 10 | Date.year=\u05E9\u05E0\u05D4 11 | Date.month=\u05D7\u05D5\u05D3\u05E9 12 | Date.quarter=\u05E8\u05D1\u05E2\u05D5\u05DF 13 | -------------------------------------------------------------------------------- /src/com/jidesoft/utils/RegistrationListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ManagerListener.java 11/28/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.utils; 8 | 9 | import java.util.EventListener; 10 | 11 | /** 12 | * The listener interface for receiving registration change events. 13 | */ 14 | public interface RegistrationListener extends EventListener { 15 | /** 16 | * Called whenever the registration is changed. 17 | * 18 | * @param event the RegistrationEvent to be fired. 19 | */ 20 | public void registrationChanged(RegistrationEvent event); 21 | } 22 | -------------------------------------------------------------------------------- /properties/com/jidesoft/converter/converter_ar.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Strings for BooleanConverter 3 | # 4 | Boolean.true=\u0635\u062D\u064A\u062D 5 | Boolean.false=\u062E\u0637\u0623 6 | 7 | # 8 | #Strings for FontConverter 9 | # 10 | Font.plain=\u0639\u0627\u062F\u064A 11 | Font.bold=\u063A\u0627\u0645\u0642 12 | Font.italic=\u0645\u0627\u0626\u0644 13 | Font.boldItalic=\u0645\u0627\u0626\u0644 \u063A\u0627\u0645\u0642 14 | 15 | # 16 | #Strings for QuarterConverter 17 | # 18 | Quarter.quarter=\u0631\u0628\u0639 \u0633\u0646\u0629 {0} 19 | #Please note, there is a space at the end of Qtr. 20 | 21 | Range.range={0} - {1} 22 | Range.multiple=(\u0645\u062A\u0639\u062F\u062F) 23 | -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/AbstractObjectGrouper.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.grouper; 2 | 3 | import com.jidesoft.comparator.ComparatorContext; 4 | import com.jidesoft.converter.ConverterContext; 5 | 6 | /** 7 | * The abstract implementation of ObjectGrouper. It just implements the {@link #getConverterContext()} and 8 | * {@link #getComparatorContext()} methods. 9 | */ 10 | abstract public class AbstractObjectGrouper implements ObjectGrouper { 11 | public ConverterContext getConverterContext() { 12 | return null; 13 | } 14 | 15 | public ComparatorContext getComparatorContext() { 16 | return null; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/FolderToolBarListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)FolderToolBarListener.java 10/6/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.basic; 7 | 8 | import java.io.File; 9 | 10 | /** 11 | * Interface for listeners to the folder tool bar 12 | */ 13 | interface FolderToolBarListener { 14 | void deleteFolderButtonClicked(); 15 | 16 | void newFolderButtonClicked(); 17 | 18 | void myDocumentsButtonClicked(); 19 | 20 | void desktopButtonClicked(); 21 | 22 | void recentFolderSelected(File file); 23 | 24 | void refreshButtonClicked(); 25 | } 26 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/FolderChooserResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)FolderChooserResource.java 11/10/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.basic; 7 | 8 | import java.util.Locale; 9 | import java.util.ResourceBundle; 10 | 11 | public class FolderChooserResource { 12 | static final String BASENAME = "com.jidesoft.plaf.basic.folderChooser"; 13 | 14 | static final ResourceBundle RB = ResourceBundle.getBundle(BASENAME); 15 | 16 | public static ResourceBundle getResourceBundle(Locale locale) { 17 | return ResourceBundle.getBundle(BASENAME, locale); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/Prioritized.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | /** 4 | * An interface to indicate something that has priority. The priority is just an int value. Although it is up to 5 | * developer to decide which priority value is higher than the other, we suggest the higher value, the higher priority 6 | * with 0 means default priority when priority is not specified. 7 | */ 8 | public interface Prioritized { 9 | /** 10 | * Gets the priority. The value could be from Integer.MIN_VALUE to Integer.MAX_VALUE with 0 as the default 11 | * priority. 12 | * 13 | * @return the priority 14 | */ 15 | int getPriority(); 16 | } 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/SidePaneUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)JideSidePaneUI.java 3 | * 4 | * Copyright 2002 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf; 7 | 8 | import com.jidesoft.swing.SidePaneGroup; 9 | import com.jidesoft.swing.SidePaneItem; 10 | 11 | import javax.swing.plaf.PanelUI; 12 | import java.awt.*; 13 | 14 | /** 15 | * ComponentUI for SidePane. 16 | */ 17 | public abstract class SidePaneUI extends PanelUI { 18 | 19 | abstract public int getSelectedItemIndex(Point p); 20 | 21 | abstract public SidePaneGroup getGroupForIndex(int index); 22 | 23 | abstract public SidePaneItem getItemForIndex(int index); 24 | } 25 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | JIDE Common Layer 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.hibernate.eclipse.console.hibernateBuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.hibernate.eclipse.console.hibernateNature 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/vsnet/VsnetRadioButtonMenuItemUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)VsnetRadioButtonMenuItemUI.java 3 | * 4 | * Copyright 2002 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.vsnet; 8 | 9 | import javax.swing.*; 10 | import javax.swing.plaf.ComponentUI; 11 | 12 | /** 13 | * RadioButtonMenuItem UI implementation 14 | */ 15 | public class VsnetRadioButtonMenuItemUI extends VsnetMenuItemUI { 16 | public static ComponentUI createUI(JComponent b) { 17 | return new VsnetRadioButtonMenuItemUI(); 18 | } 19 | 20 | @Override 21 | protected String getPropertyPrefix() { 22 | return "RadioButtonMenuItem"; 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/TabEditingListener.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | import java.util.EventListener; 4 | 5 | /** 6 | * Defines an object which listens for TabEditingEvent. 7 | */ 8 | public interface TabEditingListener extends EventListener { 9 | /** 10 | * This tells the listeners the tab editing is started 11 | */ 12 | public void editingStarted(TabEditingEvent e); 13 | 14 | /** 15 | * This tells the listeners the tab editing is stopped 16 | */ 17 | public void editingStopped(TabEditingEvent e); 18 | 19 | /** 20 | * This tells the listeners the tab editing is canceled 21 | */ 22 | public void editingCanceled(TabEditingEvent e); 23 | } 24 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/metal/MetalCheckBoxMenuItemUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)${NAME} 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.metal; 7 | 8 | import javax.swing.*; 9 | import javax.swing.plaf.ComponentUI; 10 | 11 | 12 | /** 13 | * CheckboxMenuItem UI implementation. 14 | */ 15 | public class MetalCheckBoxMenuItemUI extends MetalMenuItemUI { 16 | 17 | public static ComponentUI createUI(JComponent c) { 18 | return new MetalCheckBoxMenuItemUI(); 19 | } 20 | 21 | @Override 22 | protected String getPropertyPrefix() { 23 | return "CheckBoxMenuItem"; 24 | } 25 | } 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/vsnet/VsnetCheckBoxMenuItemUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)VsnetCheckBoxMenuItemUI.java 3 | * 4 | * Copyright 2002 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.vsnet; 7 | 8 | import javax.swing.*; 9 | import javax.swing.plaf.ComponentUI; 10 | 11 | 12 | /** 13 | * CheckboxMenuItem UI implementation. 14 | */ 15 | public class VsnetCheckBoxMenuItemUI extends VsnetMenuItemUI { 16 | 17 | public static ComponentUI createUI(JComponent c) { 18 | return new VsnetCheckBoxMenuItemUI(); 19 | } 20 | 21 | @Override 22 | protected String getPropertyPrefix() { 23 | return "CheckBoxMenuItem"; 24 | } 25 | } 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/metal/MetalRadioButtonMenuItemUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)${NAME} 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.metal; 8 | 9 | import com.jidesoft.plaf.vsnet.VsnetMenuItemUI; 10 | 11 | import javax.swing.*; 12 | import javax.swing.plaf.ComponentUI; 13 | 14 | /** 15 | * RadioButtonMenuItem UI implementation 16 | */ 17 | public class MetalRadioButtonMenuItemUI extends VsnetMenuItemUI { 18 | public static ComponentUI createUI(JComponent b) { 19 | return new MetalRadioButtonMenuItemUI(); 20 | } 21 | 22 | @Override 23 | protected String getPropertyPrefix() { 24 | return "RadioButtonMenuItem"; 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /test/com/jidesoft/converter/ObjectConverterManagerTest.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.converter; 2 | 3 | import junit.framework.TestCase; 4 | 5 | public class ObjectConverterManagerTest extends TestCase { 6 | public void testInit() throws InterruptedException { 7 | assertTrue(ObjectConverterManager.getConverter(Integer.class).getClass().getName().indexOf("IntegerConverter") != -1); 8 | ObjectConverterManager.unregisterAllConverters(); 9 | ObjectConverterManager.resetInit(); 10 | ObjectConverterManager.registerConverter(Integer.class, new DefaultObjectConverter()); 11 | assertTrue(ObjectConverterManager.getConverter(Integer.class).getClass().getName().indexOf("DefaultObjectConverter") != -1); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/StringConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#) IntegerConverter.java 3 | * 4 | * Copyright 2002 - 2003 JIDE Software. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | 9 | /** 10 | * Converter which converts String to String and converts it back. 11 | */ 12 | public class StringConverter extends DefaultObjectConverter { 13 | /** 14 | * ConverterContext if the String is a file name. 15 | */ 16 | public static ConverterContext CONTEXT_FILENAME = new ConverterContext("String.FileName"); 17 | 18 | /** 19 | * ConverterContext if the String is a multiple line text. 20 | */ 21 | public static ConverterContext CONTEXT_MULTILINE = new ConverterContext("String.Multiline"); 22 | } 23 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/aqua/AquaGripperUI.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.plaf.aqua; 2 | 3 | import com.jidesoft.plaf.basic.BasicGripperUI; 4 | import com.jidesoft.swing.Gripper; 5 | 6 | import javax.swing.*; 7 | import javax.swing.plaf.ComponentUI; 8 | import java.awt.*; 9 | 10 | /** 11 | * @author olifink 12 | */ 13 | public class AquaGripperUI extends BasicGripperUI { 14 | public static ComponentUI createUI(JComponent c) { 15 | return new AquaGripperUI(); 16 | } 17 | 18 | @Override 19 | public void paint(Graphics g, JComponent c) { 20 | Gripper gripper = (Gripper) c; 21 | paintBackground(g, gripper); 22 | getPainter().paintGripper(c, g, new Rectangle(0, 0, c.getWidth(), c.getHeight()), gripper.getOrientation(), 0); 23 | } 24 | } -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_ar.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Date related Grouper names 3 | # 4 | Date.dayOfYear=\u064A\u0648\u0645 \u0645\u0646 \u0627\u0644\u0639\u0627\u0645 5 | Date.dayOfMonth=\u064A\u0648\u0645 \u0645\u0646 \u0634\u0647\u0631 6 | Date.dayOfWeek=\u064A\u0648\u0645 \u0645\u0646 \u0627\u0644\u0623\u0633\u0628\u0648\u0639 7 | Date.dayOfWeekInMonth=\u064A\u0648\u0645 \u0645\u0646 \u0627\u0644\u0623\u0633\u0628\u0648\u0639 \u0641\u064A \u0627\u0644\u0634\u0647\u0631 8 | Date.weekOfMonth=\u0623\u0633\u0628\u0648\u0639 \u0645\u0646 \u0627\u0644\u0634\u0647\u0631 9 | Date.weekOfYear=\u0623\u0633\u0628\u0648\u0639 \u0645\u0646 \u0627\u0644\u0639\u0627\u0645 10 | Date.year=\u0633\u0646\u0629 11 | Date.month=\u0634\u0647\u0631 12 | Date.quarter=\u0631\u0628\u0639 \u0633\u0646\u0629 13 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/CurrencyConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)CurrencyConverter.java 5/9/2006 3 | * 4 | * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.converter; 8 | 9 | import java.text.NumberFormat; 10 | import java.util.Locale; 11 | 12 | /** 13 | * Converter which converts currency to String and converts it back. 14 | */ 15 | public class CurrencyConverter extends NumberFormatConverter { 16 | public static ConverterContext CONTEXT = new ConverterContext("Currency"); 17 | 18 | public CurrencyConverter() { 19 | this(NumberFormat.getCurrencyInstance(Locale.getDefault())); 20 | } 21 | 22 | public CurrencyConverter(NumberFormat format) { 23 | super(format); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_sv.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Skapa ny mapp 5 | FolderChooser.new.folderName=Ange namn f\u00F6r den nya mappen: 6 | FolderChooser.delete.title=Bekr\u00E4fta radering av mapp 7 | FolderChooser.delete.header=Vill du verkligen radera valda mappar? 8 | FolderChooser.delete.message1=Vill du verkligen radera denna mapp och alla undermappar? 9 | FolderChooser.delete.message2=Vill du verkligen radera dessa (0) mappar och alla undermappar? 10 | FolderChooser.toolbar.desktop=G\u00E5 till Skrivbordet 11 | FolderChooser.toolbar.home=G\u00E5 Hem 12 | FolderChooser.toolbar.mydocuments=G\u00E5 till Mina dokument 13 | FolderChooser.toolbar.delete=Radera vald mapp 14 | FolderChooser.toolbar.new=Skapa ny mapp under vald mapp 15 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/RegistrationEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)RegistrationEvent.java 3/20/2012 3 | * 4 | * Copyright 2002 - 2012 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.converter; 8 | 9 | /** 10 | * This class was moved to com.jidesoft.utils since 3.3.7 release. 11 | * 12 | * @deprecated please use the one at com.jidesoft.utils.RegistrationEvent. 13 | */ 14 | @Deprecated 15 | public class RegistrationEvent extends com.jidesoft.utils.RegistrationEvent { 16 | public RegistrationEvent(Object source, int id) { 17 | super(source, id); 18 | } 19 | 20 | public RegistrationEvent(Object source, int id, Object object, Object key, Object context) { 21 | super(source, id, object, key, context); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_no.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Opprett ny mappe 5 | FolderChooser.new.folderName=Tast mappenavn: 6 | FolderChooser.delete.title=Bekreft sletting av mappe 7 | FolderChooser.delete.header=Vil du slette disse mapper? 8 | FolderChooser.delete.message1=Er du sikker p\u00E5 at du vil slette denne mappe og alle dens undermapper? 9 | FolderChooser.delete.message2=Er du sikker p\u00E5 at du vil slette disse {0} mapper og alle undermapper? 10 | FolderChooser.toolbar.desktop=G\u00E5 til Skrivebordet 11 | FolderChooser.toolbar.home=G\u00E5 Hjem 12 | FolderChooser.toolbar.mydocuments=G\u00E5 til Dokumenter 13 | FolderChooser.toolbar.delete=Slett den valgte mappe 14 | FolderChooser.toolbar.new=Opprett en ny mappe under den valgte mappe 15 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/office2007/Office2007JideTabbedPaneUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)Office2007JideTabbedPaneUI.java 7/8/2009 3 | * 4 | * Copyright 2002 - 2009 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.office2007; 8 | 9 | import com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI; 10 | import com.jidesoft.plaf.office2003.Office2003JideTabbedPaneUI; 11 | import com.jidesoft.swing.JideTabbedPane; 12 | 13 | import javax.swing.*; 14 | import javax.swing.plaf.ComponentUI; 15 | import java.awt.*; 16 | 17 | /** 18 | * JideTabbedPane UI implementation 19 | */ 20 | public class Office2007JideTabbedPaneUI extends Office2003JideTabbedPaneUI { 21 | public static ComponentUI createUI(JComponent c) { 22 | return new Office2007JideTabbedPaneUI(); 23 | } 24 | } -------------------------------------------------------------------------------- /src/com/jidesoft/converter/NumberFormatConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)NumberFormatConverter.java 4/10/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.converter; 8 | 9 | import java.text.NumberFormat; 10 | 11 | /** 12 | * Converter which converts currency to String and converts it back. 13 | */ 14 | abstract public class NumberFormatConverter extends NumberConverter { 15 | public NumberFormatConverter(NumberFormat format) { 16 | super(format); 17 | } 18 | 19 | public Object fromString(String string, ConverterContext context) { 20 | return parseNumber(string); 21 | } 22 | 23 | public boolean supportFromString(String string, ConverterContext context) { 24 | return true; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/com/jidesoft/range/Positionable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)Positionable.java 3 | * 4 | * 2002 - 2012 JIDE Software Incorporated. All rights reserved. 5 | * Copyright (c) 2005 - 2012 Catalysoft Limited. All rights reserved. 6 | */ 7 | 8 | package com.jidesoft.range; 9 | 10 | /** 11 | * The idea of being positionable is to place a point somewhere along a one-dimensional axis 12 | * This is very natural for numerical data, but can be applied to categorical data too. 13 | * @author Simon White (swhite@catalysoft.com) 14 | */ 15 | public interface Positionable extends Comparable { 16 | /** 17 | * Map the Positionable object to a numeric value (a double) so that it can be positioned on an axis. 18 | * @return the position of the object 19 | */ 20 | double position(); 21 | } 22 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/metro/MetroUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)MetroUtils.java 3/27/2012 3 | * 4 | * Copyright 2002 - 2012 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.metro; 8 | 9 | import java.awt.*; 10 | 11 | public class MetroUtils { 12 | public static Color BLUE = new Color(0x0178D0); 13 | public static Color SELECTION = new Color(0x3299FF); 14 | public static Color BACKGROUND = new Color(0xF0EFF1); 15 | public static Color SHADOW = new Color(0xCBCED4); 16 | public static Color GRIPPER = new Color(0x999999); 17 | public static Color GRIPPER_SELECTION = new Color(0x5BA5E0); 18 | 19 | public static Color DARK_BLUE = new Color(0x0E639C); 20 | public static Color PURPLE = new Color(0x68217A); 21 | public static Color ORANGE = new Color(0xCA5100); 22 | } 23 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_es.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Crear nueva carpeta 5 | FolderChooser.new.folderName=Introduzca el nombre de carpeta: 6 | FolderChooser.delete.title=Confirmar eliminaci\u00f3n de la carpeta 7 | FolderChooser.delete.header=\u00bfEst\u00e1 seguro de que desea eliminar esta carpeta? 8 | FolderChooser.delete.message1=\u00bfEst\u00e1 seguro de que desea eliminar esta carpeta y todas las subcarpetas? 9 | FolderChooser.toolbar.desktop=Ir al escritorio 10 | FolderChooser.toolbar.home=Ir a la p\u00e1gina inicial 11 | FolderChooser.toolbar.mydocuments=Ir a mis documentos 12 | FolderChooser.toolbar.delete=Eliminar la carpeta seleccionada 13 | FolderChooser.toolbar.new=Crear nueva carpeta debajo de la carpeta seleccion ada 14 | FolderChooser.toolbar.recent=Reciente: 15 | -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/DefaultObjectGrouper.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.grouper; 2 | 3 | /** 4 | * Default implementation of ObjectGrouper. Its getGroupValue simply returns the value directly. 5 | */ 6 | public class DefaultObjectGrouper extends AbstractObjectGrouper { 7 | private String _name; 8 | 9 | public DefaultObjectGrouper() { 10 | this(""); 11 | } 12 | 13 | public DefaultObjectGrouper(String name) { 14 | _name = name; 15 | } 16 | 17 | public Object getValue(Object value) { 18 | return value; 19 | } 20 | 21 | public Class getType() { 22 | return Object.class; 23 | } 24 | 25 | public String getName() { 26 | return _name; 27 | } 28 | 29 | public void setName(String name) { 30 | _name = name; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/event/SidePaneListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)SidePaneListener.java 3 | * 4 | * Copyright 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing.event; 8 | 9 | import java.util.EventListener; 10 | 11 | /** 12 | * The listener interface for receiving side pane events. 13 | */ 14 | public interface SidePaneListener extends EventListener { 15 | 16 | /** 17 | * Invoked when a tab is selected in the SidePaneGroup. 18 | * 19 | * @param e SidePaneEvent 20 | */ 21 | public void sidePaneTabSelected(SidePaneEvent e); 22 | 23 | /** 24 | * Invoked when a tab is deselected in the SidePaneGroup. 25 | * 26 | * @param e SidePaneEvent 27 | */ 28 | public void sidePaneTabDeselected(SidePaneEvent e); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /properties/com/jidesoft/grouper/group_ru.properties: -------------------------------------------------------------------------------- 1 | # 2 | # @(#)group_ru.properties 8/27/2010 3 | # 4 | # Copyright 2002 - 2010 JIDE Software Inc. All rights reserved. 5 | # 6 | 7 | Date.dayOfYear = \u0414\u0435\u043D\u044C \u0433\u043E\u0434\u0430 8 | Date.dayOfMonth = \u0414\u0435\u043D\u044C \u043C\u0435\u0441\u044F\u0446\u0430 9 | Date.dayOfWeek = \u0414\u0435\u043D\u044C \u043D\u0435\u0434\u0435\u043B\u0438 10 | Date.dayOfWeekInMonth = \u0414\u0435\u043D\u044C \u043D\u0435\u0434\u0435\u043B\u0438 \u0432 \u043C\u0435\u0441\u044F\u0446\u0435 11 | Date.weekOfMonth = \u041D\u0435\u0434\u0435\u043B\u044F \u043C\u0435\u0441\u044F\u0446\u0430 12 | Date.weekOfYear = \u041D\u0435\u0434\u0435\u043B\u044F \u0433\u043E\u0434\u0430 13 | Date.year = \u0413\u043E\u0434 14 | Date.month = \u041C\u0435\u0441\u044F\u0446 15 | Date.quarter = \u041A\u0432\u0430\u0440\u0442\u0430\u043B -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/aqua/AquaJideSplitButtonUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)${NAME} 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.aqua; 8 | 9 | import com.jidesoft.plaf.basic.BasicJideSplitButtonUI; 10 | 11 | import javax.swing.*; 12 | import javax.swing.plaf.ComponentUI; 13 | 14 | 15 | /** 16 | * Menu UI implementation 17 | */ 18 | public class AquaJideSplitButtonUI extends BasicJideSplitButtonUI { 19 | 20 | public static ComponentUI createUI(JComponent x) { 21 | return new AquaJideSplitButtonUI(); 22 | } 23 | 24 | /** 25 | * The gap between the button part and the drop down menu part. 26 | * 27 | * @return the gap. 28 | */ 29 | @Override 30 | protected int getOffset() { 31 | return 2; 32 | } 33 | } 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_pl.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Utw\u00f3rz nowy katalog 5 | FolderChooser.new.folderName=Podaj nazw\u0119 nowego katalogu: 6 | FolderChooser.delete.title=Potwier\u017a usuniecie katalogu 7 | FolderChooser.delete.header=Czy na pewno usun\u0105\u0107 wybrane katalogi? 8 | FolderChooser.delete.message1=Czy na pewno usun\u0105\u0107 ten katalog wraz z podkatalogami? 9 | FolderChooser.delete.message2=Czy na pewno usun\u0105\u0107 katalogi {0} wraz z podkatalogami? 10 | FolderChooser.toolbar.desktop=Przejd\u017a do pulpitu 11 | FolderChooser.toolbar.home=Przejd\u017a do katalogu domowego 12 | FolderChooser.toolbar.mydocuments=Przejd\u017a do Moich dokument\u00f3w 13 | FolderChooser.toolbar.delete=Usu\u0144 zaznaczony katalog 14 | FolderChooser.toolbar.new=Stw\u00f3rz podkatalog w zaznaczonym katalogu 15 | -------------------------------------------------------------------------------- /examples/README_examples: -------------------------------------------------------------------------------- 1 | (Please enable word-wrap when viewing this file) 2 | 3 | We have a complete demo framework. All examples for this open source project were implemented using this demo framework. However it depends on other JIDE components which are not part of this open source project. Just for now, instead of including the demos and jars in this project, please run the demo at http://www.jidesoft.com/products/download.htm (the first webstart link). You can run the demos for all JIDE components (open source and commercial) and view the source code of all the demos ("View Source Code" button in the "Options" panel) within this webstart application. 4 | 5 | If you wish to download the complete source code of the demos so that you can compile locally, you can download the evaluation package from the same link above. Registration on JIDE Developers' Forum is required. 6 | 7 | Best regards, 8 | JIDE Software, Inc. -------------------------------------------------------------------------------- /src/com/jidesoft/converter/FloatConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)FloatConverter.java 3/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | import java.text.NumberFormat; 9 | 10 | 11 | /** 12 | * Converter which converts Float to String and converts it back. 13 | */ 14 | public class FloatConverter extends NumberConverter { 15 | public FloatConverter() { 16 | } 17 | 18 | public FloatConverter(NumberFormat format) { 19 | super(format); 20 | } 21 | 22 | public Object fromString(String string, ConverterContext context) { 23 | Number number = parseNumber(string); 24 | return number != null ? number.floatValue() : null; 25 | } 26 | 27 | public boolean supportFromString(String string, ConverterContext context) { 28 | return true; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/DoubleConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)DoubleConverter.java 3/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | import java.text.NumberFormat; 9 | 10 | 11 | /** 12 | * Converter which converts Double to String and converts it back. 13 | */ 14 | public class DoubleConverter extends NumberConverter { 15 | public DoubleConverter() { 16 | } 17 | 18 | public DoubleConverter(NumberFormat format) { 19 | super(format); 20 | } 21 | 22 | public Object fromString(String string, ConverterContext context) { 23 | Number number = parseNumber(string); 24 | return number != null ? number.doubleValue() : null; 25 | } 26 | 27 | public boolean supportFromString(String string, ConverterContext context) { 28 | return true; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/folderChooser.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Create New Folder 5 | FolderChooser.new.folderName=Enter the name of the new folder: 6 | FolderChooser.delete.title=Confirm Folder Deletion 7 | FolderChooser.delete.header=Really delete selected folders? 8 | FolderChooser.delete.message1=Are you sure you want to permanently delete this folder? 9 | FolderChooser.delete.message2=Are you sure you want to permanently delete these {0} items? 10 | FolderChooser.toolbar.desktop=Jump to the Desktop 11 | FolderChooser.toolbar.home=Jump to Home 12 | FolderChooser.toolbar.mydocuments=Jump to My Documents 13 | FolderChooser.toolbar.delete=Delete the selected folder 14 | FolderChooser.toolbar.new=Create a new folder under the selected folder 15 | FolderChooser.toolbar.refresh=Refresh the folder view to reflect external folder changes 16 | FolderChooser.toolbar.recent=Recent: -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Create New Folder 5 | FolderChooser.new.folderName=Enter the name of the new folder: 6 | FolderChooser.delete.title=Confirm Folder Deletion 7 | FolderChooser.delete.header=Really delete selected folders? 8 | FolderChooser.delete.message1=Are you sure you want to permanently delete this folder? 9 | FolderChooser.delete.message2=Are you sure you want to permanently delete these {0} items? 10 | FolderChooser.toolbar.desktop=Jump to the Desktop 11 | FolderChooser.toolbar.home=Jump to Home 12 | FolderChooser.toolbar.mydocuments=Jump to My Documents 13 | FolderChooser.toolbar.delete=Delete the selected folder 14 | FolderChooser.toolbar.new=Create a new folder under the selected folder 15 | FolderChooser.toolbar.refresh=Refresh the folder view to reflect external folder changes 16 | FolderChooser.toolbar.recent=Recent: -------------------------------------------------------------------------------- /src/com/jidesoft/swing/OverlayComboBox.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)OverlayableComboBox.java 8/10/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import javax.swing.*; 10 | import java.util.Vector; 11 | 12 | public class OverlayComboBox extends JComboBox { 13 | public OverlayComboBox() { 14 | } 15 | 16 | public OverlayComboBox(Vector items) { 17 | super(items); 18 | } 19 | 20 | public OverlayComboBox(final Object items[]) { 21 | super(items); 22 | } 23 | 24 | public OverlayComboBox(ComboBoxModel aModel) { 25 | super(aModel); 26 | } 27 | 28 | @Override 29 | public void repaint(long tm, int x, int y, int width, int height) { 30 | super.repaint(tm, x, y, width, height); 31 | OverlayableUtils.repaintOverlayable(this); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_en.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Create New Folder 5 | FolderChooser.new.folderName=Enter the name of the new folder: 6 | FolderChooser.delete.title=Confirm Folder Deletion 7 | FolderChooser.delete.header=Really delete selected folders? 8 | FolderChooser.delete.message1=Are you sure you want to permanently delete this folder? 9 | FolderChooser.delete.message2=Are you sure you want to permanently delete these {0} items? 10 | FolderChooser.toolbar.desktop=Jump to the Desktop 11 | FolderChooser.toolbar.home=Jump to Home 12 | FolderChooser.toolbar.mydocuments=Jump to My Documents 13 | FolderChooser.toolbar.delete=Delete the selected folder 14 | FolderChooser.toolbar.new=Create a new folder under the selected folder 15 | FolderChooser.toolbar.refresh=Refresh the folder view to reflect external folder changes 16 | FolderChooser.toolbar.recent=Recent: -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/aqua/AquaJidePopupMenuUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)AquaJidePopupMenuUI.java 12/13/2006 3 | * 4 | * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.aqua; 8 | 9 | import com.apple.laf.AquaPopupMenuUI; 10 | import com.jidesoft.plaf.basic.BasicJidePopupMenuUI; 11 | 12 | import javax.swing.*; 13 | import javax.swing.plaf.ComponentUI; 14 | 15 | public class AquaJidePopupMenuUI extends AquaPopupMenuUI { 16 | public AquaJidePopupMenuUI() { 17 | } 18 | 19 | public static ComponentUI createUI(JComponent c) { 20 | return new AquaJidePopupMenuUI(); 21 | } 22 | 23 | @Override 24 | public Popup getPopup(JPopupMenu popupMenu, int x, int y) { 25 | Popup popup = BasicJidePopupMenuUI.addScrollPaneIfNecessary(popupMenu, x, y); 26 | return popup == null ? super.getPopup(popupMenu, x, y) : popup; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_da.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Opret ny mappe 5 | FolderChooser.new.folderName=Indtast mappenavn: 6 | FolderChooser.delete.title=Bekr\u00E6ft sletning af mappe 7 | FolderChooser.delete.header=Vil du slette disse mapper? 8 | FolderChooser.delete.message1=Er du sikker p\u00E5, at du vil slette denne mappe og alle dens undermapper? 9 | FolderChooser.delete.message2=Er du sikker p\u00E5, at du vil slette disse {0} mapper og alle undermapper? 10 | FolderChooser.toolbar.desktop=G\u00E5 til Skrivebordet 11 | FolderChooser.toolbar.home=G\u00E5 Hjem 12 | FolderChooser.toolbar.mydocuments=G\u00E5 til Dokumenter 13 | FolderChooser.toolbar.delete=Slet den valgte mappe 14 | FolderChooser.toolbar.new=Opret en ny mappe under den valgte mappe 15 | FolderChooser.toolbar.refresh=Genopfrisk mappevisning for at reflektere eksterne mappe\u00E6ndringer 16 | FolderChooser.toolbar.recent=Seneste: 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/ResizableSupport.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ResizableSupport.java 3/4/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.swing; 7 | 8 | import javax.swing.border.Border; 9 | 10 | /** 11 | * An interface to indicate a component support Resizable. 12 | */ 13 | public interface ResizableSupport { 14 | /** 15 | * Gets the border of the component. Resizing function depends on a non-empty border. 16 | * 17 | * @return the border. 18 | */ 19 | Border getBorder(); 20 | 21 | /** 22 | * Sets the border of the component. 23 | * 24 | * @param border the border 25 | */ 26 | void setBorder(Border border); 27 | 28 | /** 29 | * Gets the underlying Resizable. Any resizable component should have a Resizable. 30 | * 31 | * @return the Resizable. 32 | */ 33 | Resizable getResizable(); 34 | } 35 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/TopLevelMenuContainer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)TopLevelMenuContainer.java 3 | * 4 | * Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.swing; 7 | 8 | /** 9 | * A markup interface to indicate this is a top level menu or command bar. The original Swing code used JMenuBar to 10 | * determine if it is TopLeveMenu. However since we introduced CommandBar, this criteria is not correct anymore. The new 11 | * condition is if a container implements TopLevelMenuContainer, the children in that container is top level menu. If 12 | * isMenuBar returns true, it means the container is really a menu bar, just like JMenuBar. 13 | */ 14 | public interface TopLevelMenuContainer { 15 | /** 16 | * Checks if the TopLevelMenuContainer is used as JMenuBar. 17 | * 18 | * @return true if the TopLevelMenuContainer is used as JMenuBar. 19 | */ 20 | boolean isMenuBar(); 21 | } 22 | -------------------------------------------------------------------------------- /test/com/jidesoft/utils/TestBigDecimalMathUtils.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.utils; 2 | 3 | import junit.framework.TestCase; 4 | 5 | import java.math.BigDecimal; 6 | 7 | public class TestBigDecimalMathUtils extends TestCase { 8 | public void testPerformRoot() { 9 | BigDecimal dec = new BigDecimal("25029.33333"); 10 | assertEquals(new BigDecimal("158.20662"), round(BigDecimalMathUtils.sqrt(dec), 5)); 11 | 12 | dec = new BigDecimal("36"); 13 | assertEquals(6, BigDecimalMathUtils.sqrt(dec).longValue()); 14 | 15 | dec = new BigDecimal("770884"); 16 | assertEquals(878, BigDecimalMathUtils.sqrt(dec).longValue()); 17 | } 18 | 19 | public static BigDecimal round(BigDecimal decimal, int decimalDigits) { 20 | BigDecimal scale = new BigDecimal(Math.pow(10, decimalDigits)); 21 | return new BigDecimal(Math.round(decimal.multiply(scale).doubleValue())).divide(scale); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/com/jidesoft/utils/TestFontUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)TestFontUtils.java 9/9/2009 3 | * 4 | * Copyright 2002 - 2009 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.utils; 8 | 9 | import com.jidesoft.swing.FontUtils; 10 | import junit.framework.TestCase; 11 | 12 | import javax.swing.*; 13 | import java.awt.*; 14 | 15 | public class TestFontUtils extends TestCase { 16 | public void testAddFont() { 17 | Font font = UIManager.getFont("Label.font"); 18 | for (int i = 0; i < 100; i++) { 19 | FontUtils.getCachedDerivedFont(font, Font.BOLD, 4 + i); 20 | } 21 | assertEquals(100, FontUtils.getDerivedFontCacheSize()); 22 | try { 23 | byte[] block = new byte[200 * 1024 * 1024]; 24 | } 25 | catch (OutOfMemoryError ex) { 26 | // ignore 27 | } 28 | assertEquals(0, FontUtils.getDerivedFontCacheSize()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/windows/WindowsJidePopupMenuUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)WindowsJidePopupMenuUI.java 12/13/2006 3 | * 4 | * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.windows; 8 | 9 | import com.jidesoft.plaf.basic.BasicJidePopupMenuUI; 10 | import com.sun.java.swing.plaf.windows.WindowsPopupMenuUI; 11 | 12 | import javax.swing.*; 13 | import javax.swing.plaf.ComponentUI; 14 | 15 | public class WindowsJidePopupMenuUI extends WindowsPopupMenuUI { 16 | public WindowsJidePopupMenuUI() { 17 | } 18 | 19 | public static ComponentUI createUI(JComponent c) { 20 | return new WindowsJidePopupMenuUI(); 21 | } 22 | 23 | @Override 24 | public Popup getPopup(JPopupMenu popupMenu, int x, int y) { 25 | Popup popup = BasicJidePopupMenuUI.addScrollPaneIfNecessary(popupMenu, x, y); 26 | return popup == null ? super.getPopup(popupMenu, x, y) : popup; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_it.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Crea nuova cartella 5 | FolderChooser.new.folderName=Inserisci il nome della nuova cartella: 6 | FolderChooser.delete.title=Conferma eliminazione cartella 7 | FolderChooser.delete.header=Veramente vuoi eliminare le cartelle selezionate? 8 | FolderChooser.delete.message1=Sei sicuro di voler eliminare definitivamente questa cartella? 9 | FolderChooser.delete.message2=Sei sicuro di voler eliminare definitivamente questi {0} elementi? 10 | FolderChooser.toolbar.desktop=Vai al Desktop 11 | FolderChooser.toolbar.home=Vai alla Home 12 | FolderChooser.toolbar.mydocuments=Vai a Documenti 13 | FolderChooser.toolbar.delete=Elimina la cartella selezionata 14 | FolderChooser.toolbar.new=Crea una nuova cartella sotto quella selezionata 15 | FolderChooser.toolbar.refresh=Aggiorna la vista delle cartelle per rifletterne i cambiamenti esterni 16 | FolderChooser.toolbar.recent=Recenti: -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_nl.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Nieuwe map aanmaken 5 | FolderChooser.new.folderName=Geef de naam voor de nieuwe map: 6 | FolderChooser.delete.title=Verwijderen van map bevestigen 7 | FolderChooser.delete.header=Weet U zeker dat U de geselecteerde mappen wilt verwijderen? 8 | FolderChooser.delete.message1=Weet U zeker dat U deze map met alle inhoud wilt verwijderen? 9 | FolderChooser.delete.message2=Weet U zeker dat U deze {0} mappen met alle inhoud wilt verwijderen? 10 | FolderChooser.toolbar.desktop=Ga naar Bureaublad 11 | FolderChooser.toolbar.home=Ga naar thuis map 12 | FolderChooser.toolbar.mydocuments=Ga naar Mijn Documenten 13 | FolderChooser.toolbar.delete=Verwijder de geselecteerde map 14 | FolderChooser.toolbar.new=Nieuwe map aanmaken onder de geselecteerde map 15 | FolderChooser.toolbar.refresh=Vernieuw de mapweergave om externe mapwijzigingen te reflecteren 16 | FolderChooser.toolbar.recent=Recent: 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/LongConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)LongConverter.java 3/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | import java.text.DecimalFormat; 9 | import java.text.NumberFormat; 10 | 11 | 12 | /** 13 | * Converter which converts Long to String and converts it back. 14 | */ 15 | public class LongConverter extends NumberConverter { 16 | public LongConverter() { 17 | this(DecimalFormat.getIntegerInstance()); 18 | } 19 | 20 | public LongConverter(NumberFormat format) { 21 | super(format); 22 | } 23 | 24 | public Object fromString(String string, ConverterContext context) { 25 | Number number = parseNumber(string); 26 | return number != null ? number.longValue() : null; 27 | } 28 | 29 | public boolean supportFromString(String string, ConverterContext context) { 30 | return true; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/ByteConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ByteConverter.java 1/29/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.converter; 8 | 9 | import java.text.DecimalFormat; 10 | import java.text.NumberFormat; 11 | 12 | /** 13 | * Converter which converts Byte to String and converts it back. 14 | */ 15 | public class ByteConverter extends NumberConverter { 16 | public ByteConverter() { 17 | this(DecimalFormat.getIntegerInstance()); 18 | } 19 | 20 | public ByteConverter(NumberFormat format) { 21 | super(format); 22 | } 23 | 24 | public Object fromString(String string, ConverterContext context) { 25 | Number number = parseNumber(string); 26 | return number != null ? number.byteValue() : null; 27 | } 28 | 29 | public boolean supportFromString(String string, ConverterContext context) { 30 | return true; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/validation/Validator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)Validator.java 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.validation; 7 | 8 | import java.util.EventListener; 9 | 10 | /** 11 | * Validator is an interface for validating a object. 12 | */ 13 | public interface Validator extends EventListener { 14 | 15 | /** 16 | * Validates the value in the ValidationObject. 17 | *

18 | * The event has both old value and new value as well as the source who sends this object. 19 | * The implementation of this method should validate if the 20 | * value is valid. If the value is valid, simply return ValidationResult.OK. 21 | * Otherwise, constructs a ValidationResult and provide the id and message. 22 | * 23 | * @param vo the ValidationObject 24 | * @return ValidationResult 25 | */ 26 | ValidationResult validating(ValidationObject vo); 27 | } 28 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/ShortConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ShortConverter.java 3/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | import java.text.DecimalFormat; 9 | import java.text.NumberFormat; 10 | 11 | 12 | /** 13 | * Converter which converts Short to String and converts it back. 14 | */ 15 | public class ShortConverter extends NumberConverter { 16 | public ShortConverter() { 17 | this(DecimalFormat.getIntegerInstance()); 18 | } 19 | 20 | public ShortConverter(NumberFormat format) { 21 | super(format); 22 | } 23 | 24 | public Object fromString(String string, ConverterContext context) { 25 | Number number = parseNumber(string); 26 | return number != null ? number.shortValue() : null; 27 | } 28 | 29 | public boolean supportFromString(String string, ConverterContext context) { 30 | return true; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_pt_BR.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Criar Nova Pasta 5 | FolderChooser.new.folderName=Inserir o nome da nova pasta: 6 | FolderChooser.delete.title=Confirmar Exclus\u00E3o de Pasta 7 | FolderChooser.delete.header=Deseja realmente excluir as pastas selecionadas? 8 | FolderChooser.delete.message1=Tem certeza que deseja excluir esta pasta permanentemente? 9 | FolderChooser.delete.message2=Tem certeza que deseja excluir esta pasta estes {0} items permanentemente? 10 | FolderChooser.toolbar.desktop=Pular para o Desktop 11 | FolderChooser.toolbar.home=Pular para In\u00EDcio 12 | FolderChooser.toolbar.mydocuments=Pular para Meus Documentos 13 | FolderChooser.toolbar.delete=Excluir a pasta selecionada 14 | FolderChooser.toolbar.new=Criar uma nova pasta na pasta selecionada 15 | FolderChooser.toolbar.refresh=Atualizar a visualiza\u00E7\u00E3o da pasta para aplicar as altera\u00E7\u00F5es da pasta 16 | FolderChooser.toolbar.recent=Recente: 17 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_fr.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Nouveau dossier 5 | FolderChooser.new.folderName=Entrez le nom du nouveau dossier: 6 | FolderChooser.delete.title=Suppression de dossier 7 | FolderChooser.delete.header=Supprimer les dossiers s\u00e9lectionn\u00e9s ? 8 | FolderChooser.delete.message1=Voulez-vous vraiment supprimer ce dossier et tout son contenu ? 9 | FolderChooser.delete.message2=Voulez-vous vraiment supprimer ces {0} dossiers ainsi que tout leur contenu ? 10 | FolderChooser.toolbar.desktop=Bureau 11 | FolderChooser.toolbar.home=Aller dans Mes Documents 12 | FolderChooser.toolbar.mydocuments=Mes Documents 13 | FolderChooser.toolbar.delete=Supprimer le dossier s\u00e9lectionn\u00e9 14 | FolderChooser.toolbar.new=Cr\u00e9e un dossier dans le dossier s\u00e9lectionn\u00e9 15 | FolderChooser.toolbar.refresh=Rafraichir le vue du dossier pour refl\u00e9ter les changement externes 16 | FolderChooser.toolbar.recent=R\u00e9cent: 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/IntegerConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)IntegerConverter.java 3/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | import java.text.DecimalFormat; 9 | import java.text.NumberFormat; 10 | 11 | 12 | /** 13 | * Converter which converts Integer to String and converts it back. 14 | */ 15 | public class IntegerConverter extends NumberConverter { 16 | public IntegerConverter() { 17 | this(DecimalFormat.getIntegerInstance()); 18 | } 19 | 20 | public IntegerConverter(NumberFormat format) { 21 | super(format); 22 | } 23 | 24 | public Object fromString(String string, ConverterContext context) { 25 | Number number = parseNumber(string); 26 | return number != null ? number.intValue() : null; 27 | } 28 | 29 | public boolean supportFromString(String string, ConverterContext context) { 30 | return true; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/TabEditingValidator.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | import java.awt.event.MouseEvent; 4 | 5 | public interface TabEditingValidator { 6 | 7 | /** 8 | * This is called to determine if the follow mouse event should start editing for the give tabIndex. 9 | */ 10 | public boolean shouldStartEdit(int tabIndex, MouseEvent event); 11 | 12 | /** 13 | * This should validate that the following value would pass is canStopEdit is called. No feedback should be 14 | * given for this call. This is used when destroying a tab it will either call commitedit or cancel 15 | * 16 | */ 17 | public boolean isValid(int tabIndex, String tabText); 18 | 19 | /** 20 | * This is called before editStop. If this returns false then the editing will continue. 21 | * It is the responsibility of the implementation to give any feedback. 22 | */ 23 | public boolean alertIfInvalid(int tabIndex, String tabText); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_de.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Neuen Ordner erstellen 5 | FolderChooser.new.folderName=Bitte Namen des neuen Ordners eingeben: 6 | FolderChooser.delete.title=L\u00F6schen von Order best\u00E4tigen 7 | FolderChooser.delete.header=Ausgew\u00E4hlte Ordner wirklich l\u00F6schen? 8 | FolderChooser.delete.message1=M\u00F6chten Sie wirklich diesen Ordner und alle Unterordner l\u00F6schen? 9 | FolderChooser.delete.message2=M\u00F6chten Sie wirklich {0} Ordner und alle Unterordner l\u00F6schen? 10 | FolderChooser.toolbar.desktop=Zum Desktop springen 11 | FolderChooser.toolbar.home=Zu 'Home' springen 12 | FolderChooser.toolbar.mydocuments=Zu 'Meine Dokumente' springen 13 | FolderChooser.toolbar.delete=Ausgew\u00E4hlten Ordner l\u00F6schen 14 | FolderChooser.toolbar.new=Neuen Ordner unter dem ausgew\u00E4hlten Ordner anlegen 15 | FolderChooser.toolbar.refresh=Ordneransicht aktualisieren, sodass \u00C4nderungen an externen Ordnern gezeigt werden 16 | FolderChooser.toolbar.recent=Neueste: 17 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_es_419.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Crear carpeta nueva 5 | FolderChooser.new.folderName=Introduzca el nombre de la nueva carpeta: 6 | FolderChooser.delete.title=Confirmar eliminaci\u00F3n de carpeta 7 | FolderChooser.delete.header=\u00BFRealmente desea eliminar las carpetas seleccionadas? 8 | FolderChooser.delete.message1=\u00BFEst\u00E1 seguro de que desea eliminar esta carpeta de forma permanente? 9 | FolderChooser.delete.message2=\u00BFEst\u00E1 seguro de que desea eliminar de forma permanente estos {0} elementos? 10 | FolderChooser.toolbar.desktop=Saltar al escritorio 11 | FolderChooser.toolbar.home=Saltar a inicio 12 | FolderChooser.toolbar.mydocuments=Saltar a mis documentos 13 | FolderChooser.toolbar.delete=Eliminar la carpeta seleccionada 14 | FolderChooser.toolbar.new=Crear una nueva carpeta en la carpeta seleccionada 15 | FolderChooser.toolbar.refresh=Actualizar la vista de carpetas para reflejar los cambios de carpeta externos 16 | FolderChooser.toolbar.recent=\uFEFFReciente: 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/OverlayTextField.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)OverlayableTextField.java 8/10/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import javax.swing.*; 10 | import javax.swing.text.Document; 11 | 12 | public class OverlayTextField extends JTextField { 13 | public OverlayTextField() { 14 | } 15 | 16 | public OverlayTextField(String text) { 17 | super(text); 18 | } 19 | 20 | public OverlayTextField(int columns) { 21 | super(columns); 22 | } 23 | 24 | public OverlayTextField(String text, int columns) { 25 | super(text, columns); 26 | } 27 | 28 | public OverlayTextField(Document doc, String text, int columns) { 29 | super(doc, text, columns); 30 | } 31 | 32 | @Override 33 | public void repaint(long tm, int x, int y, int width, int height) { 34 | super.repaint(tm, x, y, width, height); 35 | OverlayableUtils.repaintOverlayable(this); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/AnimatorListener.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | import java.awt.*; 4 | import java.util.EventListener; 5 | 6 | /** 7 | * This is a listener that can be used to customize the behaviour of animation. 8 | */ 9 | public interface AnimatorListener extends EventListener { 10 | 11 | /** 12 | * Called when the animation sequence starts. 13 | * 14 | * @param component the component for this animation 15 | */ 16 | void animationStarts(Component component); 17 | 18 | /** 19 | * Called when the animation sequence runs at certain step.. 20 | * 21 | * @param component the component for this animation 22 | * @param totalStep the total steps 23 | * @param step the current step 24 | */ 25 | void animationFrame(Component component, int totalStep, int step); 26 | 27 | /** 28 | * Called when the animation sequence ends. 29 | * 30 | * @param component the component for this animation 31 | */ 32 | void animationEnds(Component component); 33 | } 34 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_fr_CA.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=Cr\u00E9er un nouveau dossier 5 | FolderChooser.new.folderName=Entrer le nom du nouveau dossier. 6 | FolderChooser.delete.title=Confirmer la suppression du dossier 7 | FolderChooser.delete.header=Voulez-vous vraiment supprimer les dossiers s\u00E9lectionn\u00E9s? 8 | FolderChooser.delete.message1=Voulez-vous vraiment supprimer d\u00E9finitivement ce dossier? 9 | FolderChooser.delete.message2=Voulez-vous vraiment supprimer d\u00E9finitivement ces {0} \u00E9l\u00E9ments? 10 | FolderChooser.toolbar.desktop=Sauter au bureau 11 | FolderChooser.toolbar.home=Sauter \u00E0 l'accueil 12 | FolderChooser.toolbar.mydocuments=Sauter \u00E0 Mes documents 13 | FolderChooser.toolbar.delete=Supprimer le dossier s\u00E9lectionn\u00E9 14 | FolderChooser.toolbar.new=Cr\u00E9er un nouveau dossier sous le dossier s\u00E9lectionn\u00E9 15 | FolderChooser.toolbar.refresh=Actualiser l'affichage du dossier pour en refl\u00E9ter les modifications externes 16 | FolderChooser.toolbar.recent=R\u00E9cent\u00A0: 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/date/DateDayOfYearGrouper.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.grouper.date; 2 | 3 | import com.jidesoft.grouper.GroupResources; 4 | import com.jidesoft.grouper.GrouperContext; 5 | 6 | import java.util.Calendar; 7 | import java.util.Locale; 8 | 9 | public class DateDayOfYearGrouper extends DateGrouper { 10 | public static GrouperContext CONTEXT = new GrouperContext("DateDayOfYear"); 11 | 12 | public Object getValue(Object value) { 13 | return getCalendarField(value, Calendar.DAY_OF_YEAR); 14 | } 15 | 16 | public String getName() { 17 | return GroupResources.getResourceBundle(Locale.getDefault()).getString("Date.dayOfYear"); 18 | } 19 | 20 | // public static void main(String[] args) { 21 | // ObjectGrouper grouper = new DateDayOfYearGrouper(); 22 | // Calendar calendar = Calendar.getInstance(); 23 | // for (int i = 0; i < 200; i++) { 24 | // System.out.println(grouper.getValue(calendar)); 25 | // calendar.roll(Calendar.DAY_OF_YEAR, 1); 26 | // } 27 | // } 28 | } 29 | -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/TreeIconsFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)TreeIconsFactory.java 3 | * 4 | * Copyright 2002 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.dialog; 7 | 8 | 9 | import com.jidesoft.icons.IconsFactory; 10 | 11 | import javax.swing.*; 12 | 13 | /** 14 | * A helper class to contain icons for MultiplePage Dialog component. 15 | */ 16 | class TreeIconsFactory { 17 | 18 | static class CellRenderer { 19 | public static final String SELECTED_C16 = "icons/selected-c16.gif"; 20 | public static final String SELECTED_B16 = "icons/selected-b16.gif"; 21 | public static final String BLANK_16 = "icons/blank-16.gif"; 22 | } 23 | 24 | public static ImageIcon getImageIcon(String name) { 25 | if (name != null) 26 | return IconsFactory.getImageIcon(TreeIconsFactory.class, name); 27 | else 28 | return null; 29 | } 30 | 31 | public static void main(String[] argv) { 32 | IconsFactory.generateHTML(TreeIconsFactory.class); 33 | } 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/OverlayPasswordField.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)OverlayPasswordField.java 8/11/2009 3 | * 4 | * Copyright 2002 - 2009 JIDE Software Inc. All rights reserved. 5 | * 6 | * Contributor: lonny27 7 | * 8 | */ 9 | 10 | package com.jidesoft.swing; 11 | 12 | import javax.swing.JPasswordField; 13 | import javax.swing.text.Document; 14 | 15 | public class OverlayPasswordField extends JPasswordField { 16 | public OverlayPasswordField() { 17 | } 18 | 19 | public OverlayPasswordField(Document doc, String txt, int columns) { 20 | super(doc, txt, columns); 21 | } 22 | 23 | public OverlayPasswordField(int columns) { 24 | super(columns); 25 | } 26 | 27 | public OverlayPasswordField(String text, int columns) { 28 | super(text, columns); 29 | } 30 | 31 | public OverlayPasswordField(String text) { 32 | super(text); 33 | } 34 | 35 | @Override 36 | public void repaint(long tm, int x, int y, int width, int height) { 37 | super.repaint(tm, x, y, width, height); 38 | OverlayableUtils.repaintOverlayable(this); 39 | } 40 | } -------------------------------------------------------------------------------- /src/com/jidesoft/converter/ConverterContextSupport.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#) ConverterContextSupport.java 3 | * 4 | * Copyright 2002 - 2003 JIDE Software. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | 9 | /** 10 | * The interface indicates the class who extends it can support ConverterContext. 11 | * 12 | * @see ConverterContext 13 | */ 14 | public interface ConverterContextSupport { 15 | 16 | /** 17 | * Sets the converter context. 18 | * 19 | * @param context converter context 20 | */ 21 | void setConverterContext(ConverterContext context); 22 | 23 | /** 24 | * Gets the converter context. 25 | * 26 | * @return converter context 27 | */ 28 | ConverterContext getConverterContext(); 29 | 30 | /** 31 | * Gets the class of the value. 32 | * 33 | * @return the class of the value. 34 | */ 35 | Class getType(); 36 | 37 | /** 38 | * Sets the class of the value. 39 | * 40 | * @param clazz 41 | */ 42 | void setType(Class clazz); 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/com/jidesoft/utils/DefaultWildcardSupport.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.utils; 2 | 3 | /** 4 | * Default implementation of {@link WildcardSupport}. It uses the following three chars as the wildcards. 5 | *

    6 | *
  • '?' The question mark indicates there is exact one of missing element. For example, colo?r matches 7 | * "colour" but not "color" or "colouur". 8 | *
  • '*' The asterisk indicates there are zero or more of the missing elements. For example, ab*c matches 9 | * "abc", "abbc", "abdbc", and so on. 10 | *
  • '+' The plus sign indicates there are at least one of the missing elements. For example, ab+c matches 11 | * "abbc", "abdbc", but not "abc". 12 | *
13 | */ 14 | public class DefaultWildcardSupport extends AbstractWildcardSupport { 15 | private static final long serialVersionUID = -5528733766095113518L; 16 | 17 | public char getZeroOrOneQuantifier() { 18 | return '?'; 19 | } 20 | 21 | public char getZeroOrMoreQuantifier() { 22 | return '*'; 23 | } 24 | 25 | public char getOneOrMoreQuantifier() { 26 | return '+'; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/TabColorProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)TabColorProvider.java 4/1/2011 3 | * 4 | * Copyright 2002 - 2011 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import java.awt.*; 10 | 11 | /** 12 | * A Color Provider to provide background and foreground for both {@link JideTabbedPane} and {@link SidePaneItem}. 13 | *

14 | * It has higher priority than {@link com.jidesoft.swing.JideTabbedPane#getTabColorProvider()}. However, if {@link SidePaneItem#setBackground(java.awt.Color)} 15 | * or {@link SidePaneItem#setForeground(java.awt.Color)} is invoked, the settings in {@link SidePaneItem} will be respected 16 | * instead of the color returned by this class. 17 | */ 18 | public interface TabColorProvider { 19 | /** 20 | * Gets the background color the tab. 21 | * 22 | * @return the background color. 23 | */ 24 | public Color getTabBackground(); 25 | 26 | /** 27 | * Gets the foreground color the tab. 28 | * 29 | * @return the foreground color. 30 | */ 31 | public Color getTabForeground(); 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/dialog/DialogPageListCellRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)DialogPageListCellRenderer.java 3 | * 4 | * Copyright 2002 JIDE Software. All rights reserved. 5 | */ 6 | package com.jidesoft.dialog; 7 | 8 | import javax.swing.*; 9 | import java.awt.*; 10 | 11 | /** 12 | * A list cell renderer for AbstractDialogPage. 13 | */ 14 | class DialogPageListCellRenderer extends DefaultListCellRenderer { 15 | private static final long serialVersionUID = -3622981818484859949L; 16 | 17 | @Override 18 | public Component getListCellRendererComponent( 19 | JList list, 20 | Object value, 21 | int index, 22 | boolean isSelected, 23 | boolean cellHasFocus) { 24 | if (value instanceof AbstractDialogPage) { 25 | AbstractDialogPage page = (AbstractDialogPage) value; 26 | return super.getListCellRendererComponent(list, page.getTitle(), index, isSelected, cellHasFocus); 27 | } 28 | else { 29 | return super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/SearchableProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)SearchableProvider.java 10/11/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.swing; 7 | 8 | import java.awt.event.KeyEvent; 9 | 10 | /** 11 | * SearchableProvider is an interface that works with {@link Searchable} to provide 12 | * different way to supply the searching text. 13 | */ 14 | public interface SearchableProvider { 15 | /** 16 | * Gets the searching text. 17 | * 18 | * @return the searching text. 19 | */ 20 | String getSearchingText(); 21 | 22 | /** 23 | * Returns true if the SearchableProvider doesn't accept keyboard input directly. In this case, 24 | * the Searchable component (such as JTextComponent, JTable, JList or JComboBox) will accept the 25 | * keys so it returns true. However in SearchableBar case, the text field on SearchableBar will 26 | * accept the keys so it returns false. 27 | * 28 | * @return true or false. 29 | */ 30 | boolean isPassive(); 31 | 32 | void processKeyEvent(KeyEvent e); 33 | } 34 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/PercentConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)PercentConverter.java 4/10/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.converter; 8 | 9 | import java.text.NumberFormat; 10 | import java.util.Locale; 11 | 12 | /** 13 | * Converter which converts percentage to String and converts it back. 14 | */ 15 | public class PercentConverter extends NumberFormatConverter { 16 | public static ConverterContext CONTEXT = new ConverterContext("Percent"); 17 | 18 | public PercentConverter() { 19 | this(NumberFormat.getPercentInstance(Locale.getDefault())); 20 | } 21 | 22 | public PercentConverter(NumberFormat format) { 23 | super(format); 24 | } 25 | 26 | @Override 27 | public Object fromString(String string, ConverterContext context) { 28 | Object o = super.fromString(string, context); 29 | if (string != null && !string.trim().endsWith("%") && o instanceof Number && ((Number) o).doubleValue() > 1) { 30 | o = ((Number) o).doubleValue() / 100; 31 | } 32 | return o; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/FileConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#) FileConverter.java 3 | * 4 | * Copyright 2002 - 2003 JIDE Software. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | import java.io.File; 9 | 10 | /** 11 | * Converter which converts File to String and converts it back. 12 | */ 13 | public class FileConverter implements ObjectConverter { 14 | public String toString(Object object, ConverterContext context) { 15 | if (object == null || !(object instanceof File)) { 16 | return null; 17 | } 18 | else { 19 | return ((File) object).getAbsolutePath(); 20 | } 21 | } 22 | 23 | public boolean supportToString(Object object, ConverterContext context) { 24 | return true; 25 | } 26 | 27 | public Object fromString(String string, ConverterContext context) { 28 | if (string == null || string.trim().length() == 0) { 29 | return null; 30 | } 31 | return new File(string); 32 | } 33 | 34 | public boolean supportFromString(String string, ConverterContext context) { 35 | return true; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_zh_CN.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=\u5EFA\u7ACB\u65B0\u76EE\u5F55 5 | FolderChooser.new.folderName=\u8F93\u5165\u65B0\u76EE\u5F55\u540D\uFF1A 6 | FolderChooser.delete.title=\u786E\u8BA4\u5220\u9664\u76EE\u5F55 7 | FolderChooser.delete.header=\u60A8\u771F\u7684\u8981\u5220\u9664\u9009\u4E2D\u7684\u76EE\u5F55\u5417\uFF1F 8 | FolderChooser.delete.message1=\u60A8\u771F\u7684\u8981\u5220\u9664\u9009\u4E2D\u7684\u76EE\u5F55\u548C\u5B83\u7684\u6240\u6709\u5B50\u76EE\u5F55\u5417\uFF1F 9 | FolderChooser.delete.message2=\u60A8\u771F\u7684\u8981\u5220\u9664\u76EE\u5F55\u201C{0}\u201D\u548C\u5B83\u7684\u6240\u6709\u5B50\u76EE\u5F55\u5417\uFF1F 10 | FolderChooser.toolbar.desktop=\u9009\u4E2D\u684C\u9762 11 | FolderChooser.toolbar.home=\u9009\u4E2D\u4E3B\u76EE\u5F55 12 | FolderChooser.toolbar.mydocuments=\u9009\u4E2D\u6211\u7684\u6587\u6863 13 | FolderChooser.toolbar.delete=\u5220\u9664\u9009\u4E2D\u76EE\u5F55 14 | FolderChooser.toolbar.new=\u5728\u9009\u4E2D\u7684\u76EE\u5F55\u4E0B\u5EFA\u7ACB\u65B0\u76EE\u5F55 15 | FolderChooser.toolbar.refresh=\u5237\u65B0\u76EE\u5F55 16 | FolderChooser.toolbar.recent=\u6700\u8FD1\uFF1A: 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/OverlayTextArea.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)OverlayTextArea.java 8/14/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import javax.swing.*; 10 | import javax.swing.text.Document; 11 | 12 | public class OverlayTextArea extends JTextArea { 13 | public OverlayTextArea() { 14 | } 15 | 16 | public OverlayTextArea(String text) { 17 | super(text); 18 | } 19 | 20 | public OverlayTextArea(int rows, int columns) { 21 | super(rows, columns); 22 | } 23 | 24 | public OverlayTextArea(String text, int rows, int columns) { 25 | super(text, rows, columns); 26 | } 27 | 28 | public OverlayTextArea(Document doc) { 29 | super(doc); 30 | } 31 | 32 | public OverlayTextArea(Document doc, String text, int rows, int columns) { 33 | super(doc, text, rows, columns); 34 | } 35 | 36 | @Override 37 | public void repaint(long tm, int x, int y, int width, int height) { 38 | super.repaint(tm, x, y, width, height); 39 | OverlayableUtils.repaintOverlayable(this); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_zh_TW.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=\u5efa\u7acb\u65b0\u76ee\u9304 5 | FolderChooser.new.folderName=\u8f38\u5165\u65b0\u76ee\u9304\u540d\uff1a 6 | FolderChooser.delete.title=\u78ba\u8a8d\u522a\u9664\u76ee\u9304 7 | FolderChooser.delete.header=\u60a8\u771f\u7684\u8981\u522a\u9664\u9078\u4e2d\u7684\u76ee\u9304\u55ce\uff1f 8 | FolderChooser.delete.message1=\u60a8\u771f\u7684\u8981\u522a\u9664\u9078\u4e2d\u7684\u76ee\u9304\u548c\u5b83\u7684\u6240\u6709\u5b50\u76ee\u9304\u55ce\uff1f 9 | FolderChooser.delete.message2=\u60a8\u771f\u7684\u8981\u522a\u9664\u76ee\u9304\u201c{0}\u201d\u548c\u5b83\u7684\u6240\u6709\u5b50\u76ee\u9304\u55ce\uff1f 10 | FolderChooser.toolbar.desktop=\u9078\u4e2d\u684c\u9762 11 | FolderChooser.toolbar.home=\u9078\u4e2d\u4e3b\u76ee\u9304 12 | FolderChooser.toolbar.mydocuments=\u9078\u4e2d\u6211\u7684\u6587\u6a94 13 | FolderChooser.toolbar.delete=\u522a\u9664\u9078\u4e2d\u76ee\u9304 14 | FolderChooser.toolbar.new=\u5728\u9078\u4e2d\u7684\u76ee\u9304\u4e0b\u5efa\u7acb\u65b0\u76ee\u9304 15 | FolderChooser.toolbar.recent=\u6700\u8fd1\uff1a 16 | FolderChooser.toolbar.refresh=\u5237\u65b0\u76ee\u9304\uff1a 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/utils/HtmlUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)HtmlUtils.java 6/8/2011 3 | * 4 | * Copyright 2002 - 2011 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.utils; 8 | 9 | public class HtmlUtils { 10 | public static final String HTML_START = ""; 11 | public static final String HTML_END = ""; 12 | public static final String HTML_LINE_BREAK = "
"; 13 | 14 | public static String formatHtmlSubString(String text) { 15 | if (text != null) { 16 | if (text.toLowerCase().startsWith(HTML_START)) { 17 | text = text.substring(HTML_START.length()); 18 | } 19 | if (text.toLowerCase().endsWith(HTML_END)) { 20 | text = text.substring(0, text.length() - HTML_END.length()); 21 | } 22 | text = text.replaceAll("\r\n", HTML_LINE_BREAK); 23 | text = text.replaceAll("\r", HTML_LINE_BREAK); 24 | text = text.replaceAll("\n", HTML_LINE_BREAK); 25 | if (text.startsWith("/")) { 26 | return "/" + text.substring(1); 27 | } 28 | } 29 | 30 | return text; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/UndoableSupport.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)UndoableSupport.java 1/23/2012 3 | * 4 | * Copyright 2002 - 2012 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import javax.swing.undo.UndoManager; 10 | import javax.swing.undo.UndoableEditSupport; 11 | 12 | /** 13 | * A general interface to provide undoable support within Swing component. 14 | * 15 | * @since 3.3.4 16 | */ 17 | public interface UndoableSupport { 18 | /** 19 | * Gets the UndoManager. 20 | * 21 | * @return the UndoManager. 22 | */ 23 | UndoManager getUndoManager(); 24 | 25 | /** 26 | * Gets the UndoableEditSupport instance to add UndoableListener. 27 | * 28 | * @return the UndoableEditSupport instance. 29 | */ 30 | UndoableEditSupport getUndoableEditSupport(); 31 | 32 | /** 33 | * Begins the edit of the model. 34 | * 35 | * @param isUndoRedo the flag to indicate if this operation is triggered by undo/redo 36 | */ 37 | void beginCompoundEdit(boolean isUndoRedo); 38 | 39 | /** 40 | * Ends the edit of the model. 41 | */ 42 | void endCompoundEdit(); 43 | } 44 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/BigDecimalConverter.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.converter; 2 | 3 | import java.math.BigDecimal; 4 | import java.text.DecimalFormat; 5 | import java.text.NumberFormat; 6 | 7 | /** 8 | * Converter for BigDecimal. 9 | */ 10 | public class BigDecimalConverter extends NumberFormatConverter { 11 | 12 | public BigDecimalConverter() { 13 | super(new DecimalFormat("#,##0.00")); 14 | } 15 | 16 | public BigDecimalConverter(NumberFormat format) { 17 | super(format); 18 | } 19 | 20 | @Override 21 | public Object fromString(String string, ConverterContext context) { 22 | Object value = super.fromString(string, context); 23 | return new BigDecimal("" + value); 24 | } 25 | 26 | @Override 27 | public String toString(Object obj, ConverterContext convertercontext) { 28 | if (obj instanceof BigDecimal) { 29 | BigDecimal decimal = (BigDecimal) obj; 30 | if (decimal.doubleValue() == Double.NaN) 31 | return ""; 32 | return super.toString(decimal, convertercontext); 33 | } 34 | return ""; // null or not an instance of BigDecimal 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/vsnet/HeaderCellBorder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)HeaderCellBorder.java 8/3/2006 3 | * 4 | * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.vsnet; 8 | 9 | import com.jidesoft.utils.ColorUtils; 10 | 11 | import javax.swing.border.Border; 12 | import javax.swing.plaf.UIResource; 13 | import java.awt.*; 14 | 15 | public class HeaderCellBorder implements Border, UIResource { 16 | public HeaderCellBorder() { 17 | } 18 | 19 | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { 20 | g.setColor(new Color(0, 0, 0, 27)); 21 | g.drawLine(0, height - 3, width, height - 3); 22 | 23 | g.setColor(new Color(0, 0, 0, 37)); 24 | g.drawLine(0, height - 2, width, height - 2); 25 | 26 | g.setColor(new Color(0, 0, 0, 52)); 27 | g.drawLine(0, height - 1, width, height - 1); 28 | g.drawLine(width - 1, 0, width - 1, height - 1); 29 | } 30 | 31 | public Insets getBorderInsets(Component c) { 32 | return new Insets(0, 0, 3, 1); 33 | } 34 | 35 | public boolean isBorderOpaque() { 36 | return false; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /test/com/jidesoft/swing/RangeSliderTest.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | import java.awt.BorderLayout; 4 | 5 | import javax.swing.JFrame; 6 | import javax.swing.JPanel; 7 | import javax.swing.JScrollPane; 8 | import javax.swing.SwingUtilities; 9 | import javax.swing.UIManager; 10 | 11 | public class RangeSliderTest { 12 | 13 | public static void main(String[] args) { 14 | SwingUtilities.invokeLater(() -> { 15 | 16 | try { 17 | UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 18 | } catch (Exception e) { 19 | throw new RuntimeException(e); 20 | } 21 | 22 | final RangeSlider rangeSlider = new RangeSlider(0, 100, 10, 80); 23 | final JPanel rangeSliderAndValuePanel = new JPanel(new BorderLayout()); 24 | rangeSliderAndValuePanel.add(rangeSlider, BorderLayout.CENTER); 25 | 26 | JFrame f = new JFrame(); 27 | f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 28 | f.add(new JScrollPane(rangeSliderAndValuePanel)); 29 | f.setSize(400, 400); 30 | f.setLocation(200, 200); 31 | f.setVisible(true); 32 | 33 | }); 34 | } 35 | } -------------------------------------------------------------------------------- /src/com/jidesoft/swing/DelegateMouseMotionListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)DelegateMouseMotionListener.java 1/30/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import java.awt.event.MouseEvent; 10 | import java.awt.event.MouseMotionListener; 11 | 12 | /** 13 | * This mouse motion listener can delegate the mouse events to another mouse motion listener. 14 | * It can be used when you need to do something extra steps when there is a mouse motion event but you still 15 | * want the original mouse motion listener to be called under certain condition. 16 | */ 17 | public class DelegateMouseMotionListener implements MouseMotionListener { 18 | private MouseMotionListener _listener; 19 | 20 | public DelegateMouseMotionListener(MouseMotionListener listener) { 21 | _listener = listener; 22 | } 23 | 24 | public void mouseDragged(MouseEvent e) { 25 | if (_listener != null) { 26 | _listener.mouseDragged(e); 27 | } 28 | } 29 | 30 | public void mouseMoved(MouseEvent e) { 31 | if (_listener != null) { 32 | _listener.mouseMoved(e); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/date/DateWeekOfYearGrouper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)DateWeekOfYearGrouper.java 5/19/2006 3 | * 4 | * Copyright 2002 - 2006 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.grouper.date; 8 | 9 | import com.jidesoft.grouper.GroupResources; 10 | import com.jidesoft.grouper.GrouperContext; 11 | 12 | import java.util.Calendar; 13 | import java.util.Locale; 14 | 15 | public class DateWeekOfYearGrouper extends DateGrouper { 16 | public static GrouperContext CONTEXT = new GrouperContext("DateWeekOfYear"); 17 | 18 | public Object getValue(Object value) { 19 | return getCalendarField(value, Calendar.WEEK_OF_YEAR); 20 | } 21 | 22 | public String getName() { 23 | return GroupResources.getResourceBundle(Locale.getDefault()).getString("Date.weekOfYear"); 24 | } 25 | // public static void main(String[] args) { 26 | // ObjectGrouper grouper = new DateWeekOfYearGrouper(); 27 | // Calendar calendar = Calendar.getInstance(); 28 | // for (int i = 0; i < 40; i++) { 29 | // System.out.println(grouper.getValue(calendar)); 30 | // calendar.roll(Calendar.WEEK_OF_YEAR, 1); 31 | // } 32 | // } 33 | } 34 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/NaturalNumberConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)NaturalNumberConverter.java 3/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | import java.text.DecimalFormat; 9 | import java.text.NumberFormat; 10 | 11 | 12 | /** 13 | * Converter which converts Integer to String and converts it back. 14 | */ 15 | public class NaturalNumberConverter extends NumberConverter { 16 | /** 17 | * Default ConverterContext for NaturalNumberConverter. 18 | */ 19 | public static ConverterContext CONTEXT = new ConverterContext("Natural Nunber"); 20 | 21 | public NaturalNumberConverter() { 22 | this(DecimalFormat.getIntegerInstance()); 23 | } 24 | 25 | public NaturalNumberConverter(NumberFormat format) { 26 | super(format); 27 | } 28 | 29 | public Object fromString(String string, ConverterContext context) { 30 | Number number = parseNumber(string); 31 | return number != null ? (number.intValue() < 0 ? 0 : number.intValue()) : null; 32 | } 33 | 34 | public boolean supportFromString(String string, ConverterContext context) { 35 | return true; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/com/jidesoft/utils/PersistenceUtilsCallback.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.utils; 2 | 3 | import org.w3c.dom.Document; 4 | import org.w3c.dom.Element; 5 | 6 | /** 7 | * This interface is used by several PersistenceUtils classes inside JIDE to register a callback when writing or reading 8 | * the xml element. 9 | */ 10 | public interface PersistenceUtilsCallback { 11 | public static interface Save { 12 | /** 13 | * This method is called when writing the object to the element. 14 | * 15 | * @param document the XML document 16 | * @param element the element representing the object 17 | * @param object the object to be saved. 18 | */ 19 | public void save(Document document, Element element, Object object); 20 | } 21 | 22 | public static interface Load { 23 | /** 24 | * This method is called when reading the object from the element. 25 | * 26 | * @param document the XML document 27 | * @param element the element representing the object 28 | * @param object the object to be written. 29 | */ 30 | public void load(Document document, Element element, Object object); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/OverlayableIconsFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)OverlayableIconsFactory.java 8/10/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import com.jidesoft.icons.IconsFactory; 10 | 11 | import javax.swing.*; 12 | 13 | /** 14 | * A helper class to contain icons for the overlayable components 15 | * Those icons are copyrighted by JIDE Software, Inc. 16 | */ 17 | public class OverlayableIconsFactory { 18 | public static final String ATTENTION = "icons/overlay_attention.png"; 19 | public static final String CORRECT = "icons/overlay_correct.png"; 20 | public static final String ERROR = "icons/overlay_error.png"; 21 | public static final String INFO = "icons/overlay_info.png"; 22 | public static final String QUESTION = "icons/overlay_question.png"; 23 | 24 | public static ImageIcon getImageIcon(String name) { 25 | if (name != null) 26 | return IconsFactory.getImageIcon(OverlayableIconsFactory.class, name); 27 | else 28 | return null; 29 | } 30 | 31 | public static void main(String[] argv) { 32 | IconsFactory.generateHTML(OverlayableIconsFactory.class); 33 | } 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/com/jidesoft/converter/ColorConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#) ColorConverter.java 3 | * 4 | * Copyright 2002 - 2003 JIDE Software. All rights reserved. 5 | */ 6 | package com.jidesoft.converter; 7 | 8 | 9 | /** 10 | * Converter which converts Color to String and converts it back. 11 | */ 12 | abstract public class ColorConverter implements ObjectConverter { 13 | 14 | /** 15 | * ConverterContext for color to convert to RGB string. 16 | */ 17 | public static ConverterContext CONTEXT_RGB = ConverterContext.DEFAULT_CONTEXT; 18 | 19 | /** 20 | * ConverterContext for color to convert to HEX string. 21 | */ 22 | public static ConverterContext CONTEXT_HEX = new ConverterContext("Color.Hex"); 23 | 24 | /** 25 | * ConverterContext for color to convert to RGB and alpha string. 26 | */ 27 | public static ConverterContext CONTEXT_RGBA = new ConverterContext("Color.rgba"); 28 | 29 | 30 | /** 31 | * ConverterContext for color to convert to HEX string. 32 | */ 33 | public static ConverterContext CONTEXT_HEX_WITH_ALPHA = new ConverterContext("Color.HexWithAlpha"); 34 | 35 | /** 36 | * Create a default color converter. 37 | */ 38 | public ColorConverter() { 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /JIDE Common Layer.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /test/com/jidesoft/converter/TestEnumConverter.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.converter; 2 | 3 | import junit.framework.TestCase; 4 | 5 | public class TestEnumConverter extends TestCase { 6 | public enum Rank { 7 | DEUCE, THREE, FOUR, FIVE, SIX, 8 | SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, ACE 9 | } 10 | 11 | public void testEnumConverterEnum() { 12 | ObjectConverter converter1 = new EnumConverter("Rank", Rank.values(), new String[]{ 13 | Rank.DEUCE.toString(), 14 | Rank.THREE.toString(), 15 | Rank.FOUR.toString(), 16 | Rank.FIVE.toString(), 17 | Rank.SIX.toString(), 18 | Rank.SEVEN.toString(), 19 | Rank.EIGHT.toString(), 20 | Rank.NINE.toString(), 21 | Rank.TEN.toString(), 22 | Rank.JACK.toString(), 23 | Rank.QUEEN.toString(), 24 | Rank.KING.toString(), 25 | Rank.ACE.toString(), 26 | }); 27 | 28 | ObjectConverter converter2 = new EnumConverter("Rank", Rank.values(), EnumConverter.toStrings(Rank.values())); 29 | 30 | assertEquals(Rank.DEUCE.toString(), converter2.toString(Rank.DEUCE, null)); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/BasicFileSystemTreeCellRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)FileTreeCellRenderer.java 9/12/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.basic; 7 | 8 | import javax.swing.*; 9 | import javax.swing.tree.DefaultTreeCellRenderer; 10 | import java.awt.*; 11 | 12 | class BasicFileSystemTreeCellRenderer extends DefaultTreeCellRenderer { 13 | @Override 14 | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { 15 | if (value instanceof BasicFileSystemTreeNode) { 16 | BasicFileSystemTreeNode fileTreeNode = (BasicFileSystemTreeNode) value; 17 | JLabel label = (JLabel) super.getTreeCellRendererComponent(tree, fileTreeNode.getName(), sel, expanded, leaf, row, hasFocus); 18 | try { 19 | label.setIcon(fileTreeNode.getIcon()); 20 | } 21 | catch (Exception e) { 22 | System.out.println(fileTreeNode.getFile().getAbsolutePath()); 23 | } 24 | return label; 25 | } 26 | return super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_ha_NG.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Bida: 5 | Searchable.noMatch=(babu abin mai dace) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Gano: 11 | SearchableBar.find.mnemonic=G 12 | SearchableBar.findNext=Gano Na Gaba 13 | SearchableBar.findNext.mnemonic=G 14 | SearchableBar.findNext.tooltip=Gano matsayi na gaba na jimlar 15 | SearchableBar.findPrevious=Gano Na Baya 16 | SearchableBar.findPrevious.mnemonic=B 17 | SearchableBar.findPrevious.tooltip=Gano matsayi na baya na jimlar 18 | SearchableBar.highlights=Haskar kalmomi 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Haskar dukkan matsayi-matsayen jimlar 21 | SearchableBar.matchCase=Daidaita Girman Baki 22 | SearchableBar.matchCase.mnemonic=D 23 | SearchableBar.repeats=Abun Maimaiwata 24 | SearchableBar.repeats.mnemonic=M 25 | 26 | SearchableBar.reachedBottom=Na isa kasan shafin 27 | SearchableBar.reachedTop=Na isa kan shafin 28 | SearchableBar.reachedBottomRepeat=Na isa kasan shafin, an ci gaba daga kan 29 | SearchableBar.reachedTopRepeat=Na isa kan shafin, an ci gaba daga daga kasan 30 | SearchableBar.notFound=Jimlar ba a gano ba 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Duka) -------------------------------------------------------------------------------- /src/com/jidesoft/swing/Selectable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)Selectable.java 5/11/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.swing; 7 | 8 | /** 9 | * Selectable is an interface indicating something is selectable. 10 | */ 11 | public interface Selectable { 12 | /** 13 | * Sets it as selected. 14 | * 15 | * @param selected 16 | */ 17 | void setSelected(boolean selected); 18 | 19 | /** 20 | * Gets the selected status. 21 | * 22 | * @return true if it is selected. Otherwise, false. 23 | */ 24 | boolean isSelected(); 25 | 26 | /** 27 | * Inverts the selection status. 28 | */ 29 | void invertSelected(); 30 | 31 | /** 32 | * Enabled selection change. Enabled false doesn't mean selected is false. If it is selected before, 33 | * setEnable(false) won't make selected become false. In the other word, setEnabled won't change the the value of 34 | * isSelected(). 35 | * 36 | * @param enabled 37 | */ 38 | void setEnabled(boolean enabled); 39 | 40 | /** 41 | * Checks if selection change is allowed. 42 | * 43 | * @return true if selection change is allowed. 44 | */ 45 | boolean isEnabled(); 46 | } 47 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_en_CA.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Search for: 5 | Searchable.noMatch=(no match) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Find: 11 | SearchableBar.find.mnemonic=F 12 | SearchableBar.findNext=Find Next 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Find the next occurrence of the phrase 15 | SearchableBar.findPrevious=Find Previous 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Find the previous occurrence of the phrase 18 | SearchableBar.highlights=Highlight 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Highlights all occurrences of the phrase 21 | SearchableBar.matchCase=Match Case 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Repeats 24 | SearchableBar.repeats.mnemonic=R 25 | 26 | SearchableBar.reachedBottom=Reached bottom of the page 27 | SearchableBar.reachedTop=Reached top of the page 28 | SearchableBar.reachedBottomRepeat=Reached bottom of the page, continued from top 29 | SearchableBar.reachedTopRepeat=Reached top of the page, continued from bottom 30 | SearchableBar.notFound=Phrase not found 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(All) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_en_UK.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Search for: 5 | Searchable.noMatch=(no match) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Find: 11 | SearchableBar.find.mnemonic=F 12 | SearchableBar.findNext=Find Next 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Find the next occurrence of the phrase 15 | SearchableBar.findPrevious=Find Previous 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Find the previous occurrence of the phrase 18 | SearchableBar.highlights=Highlight 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Highlights all occurrences of the phrase 21 | SearchableBar.matchCase=Match Case 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Repeats 24 | SearchableBar.repeats.mnemonic=R 25 | 26 | SearchableBar.reachedBottom=Reached bottom of the page 27 | SearchableBar.reachedTop=Reached top of the page 28 | SearchableBar.reachedBottomRepeat=Reached bottom of the page, continued from top 29 | SearchableBar.reachedTopRepeat=Reached top of the page, continued from bottom 30 | SearchableBar.notFound=Phrase not found 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(All) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_sl_SI.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=I\u0161\u010di za: 5 | Searchable.noMatch=(ni ujemanja) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Najdi: 11 | SearchableBar.find.mnemonic=N 12 | SearchableBar.findNext=Najdi naslednjega 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Najdi naslednje pojavljanje fraze 15 | SearchableBar.findPrevious=Najdi prej\u0161njega 16 | SearchableBar.findPrevious.mnemonic=N 17 | SearchableBar.findPrevious.tooltip=Najdi prej\u0161nje pojavljanje fraze 18 | SearchableBar.highlights=Poudari 19 | SearchableBar.highlights.mnemonic=P 20 | SearchableBar.highlights.tooltip=Poudari vsa pojavljanja fraze 21 | SearchableBar.matchCase=Ujemanje s primerom 22 | SearchableBar.matchCase.mnemonic=U 23 | SearchableBar.repeats=Ponavljanja 24 | SearchableBar.repeats.mnemonic=P 25 | 26 | SearchableBar.reachedBottom=Dose\u017eeno dno strani 27 | SearchableBar.reachedTop=Dose\u017een vrh strani 28 | SearchableBar.reachedBottomRepeat=Dose\u017eeno dno strani, od vrha navzdol 29 | SearchableBar.reachedTopRepeat=Dose\u017een vrh strani, od dna navzgor 30 | SearchableBar.notFound=Fraza ni najdena 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Vsi) -------------------------------------------------------------------------------- /src/com/jidesoft/grouper/date/DateYearGrouper.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.grouper.date; 2 | 3 | import com.jidesoft.converter.ConverterContext; 4 | import com.jidesoft.converter.YearNameConverter; 5 | import com.jidesoft.grouper.GroupResources; 6 | import com.jidesoft.grouper.GrouperContext; 7 | 8 | import java.util.Calendar; 9 | import java.util.Locale; 10 | 11 | /** 12 | */ 13 | public class DateYearGrouper extends DateGrouper { 14 | public static GrouperContext CONTEXT = new GrouperContext("DateYear"); 15 | 16 | public Object getValue(Object value) { 17 | return getCalendarField(value, Calendar.YEAR); 18 | } 19 | 20 | public String getName() { 21 | return GroupResources.getResourceBundle(Locale.getDefault()).getString("Date.year"); 22 | } 23 | 24 | // public static void main(String[] args) { 25 | // ObjectGrouper grouper = new DateYearGrouper(); 26 | // Calendar calendar = Calendar.getInstance(); 27 | // for (int i = 0; i < 40; i++) { 28 | // System.out.println(grouper.getGroupValue(calendar)); 29 | // calendar.roll(Calendar.YEAR, 1); 30 | // } 31 | // } 32 | 33 | 34 | @Override 35 | public ConverterContext getConverterContext() { 36 | return YearNameConverter.CONTEXT; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/OverlayCheckBox.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)OverlayableCheckBox.java 8/10/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import javax.swing.*; 10 | 11 | public class OverlayCheckBox extends JCheckBox { 12 | public OverlayCheckBox() { 13 | } 14 | 15 | public OverlayCheckBox(Icon icon) { 16 | super(icon); 17 | } 18 | 19 | public OverlayCheckBox(Icon icon, boolean selected) { 20 | super(icon, selected); 21 | } 22 | 23 | public OverlayCheckBox(String text) { 24 | super(text); 25 | } 26 | 27 | public OverlayCheckBox(Action a) { 28 | super(a); 29 | } 30 | 31 | public OverlayCheckBox(String text, boolean selected) { 32 | super(text, selected); 33 | } 34 | 35 | public OverlayCheckBox(String text, Icon icon) { 36 | super(text, icon); 37 | } 38 | 39 | public OverlayCheckBox(String text, Icon icon, boolean selected) { 40 | super(text, icon, selected); 41 | } 42 | 43 | @Override 44 | public void repaint(long tm, int x, int y, int width, int height) { 45 | super.repaint(tm, x, y, width, height); 46 | OverlayableUtils.repaintOverlayable(this); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_no_NO.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strenger for s\u00f8kbare klasser 3 | # 4 | Searchable.searchFor=S\u00f8k etter: 5 | Searchable.noMatch=(ingen match) 6 | 7 | # 8 | # Strenger for SearchableBar klasser 9 | # 10 | SearchableBar.find=Finn: 11 | SearchableBar.find.mnemonic=F 12 | SearchableBar.findNext=Find Neste 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Finn forrrige forekomst av setningen 15 | SearchableBar.findPrevious=Finn forrige 16 | SearchableBar.findPrevious.mnemonic=F 17 | SearchableBar.findPrevious.tooltip=Finn forrige forekomst av setningen 18 | SearchableBar.highlights=Uthev 19 | SearchableBar.highlights.mnemonic=U 20 | SearchableBar.highlights.tooltip=Uthever alle forekomster av setningen 21 | SearchableBar.matchCase=Match forekomst 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Gjentakelser 24 | SearchableBar.repeats.mnemonic=G 25 | 26 | SearchableBar.reachedBottom=N\u00e5dd bunnen av siden 27 | SearchableBar.reachedTop=N\u00e5dd toppen av siden 28 | SearchableBar.reachedBottomRepeat=N\u00e5dd bunnen av siden, fortsatt fra toppen 29 | SearchableBar.reachedTopRepeat=N\u00e5dd toppen av siden, fortsatt fra bunnen 30 | SearchableBar.notFound=Setning ikke funnet 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Alle) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_fi_FI.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Hae kohdetta: 5 | Searchable.noMatch=(ei vastaavuuksia) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Etsi: 11 | SearchableBar.find.mnemonic=E 12 | SearchableBar.findNext=Etsi seuraava 13 | SearchableBar.findNext.mnemonic=S 14 | SearchableBar.findNext.tooltip=Etsi lausekkeen seuraava esiintym\u00e4 15 | SearchableBar.findPrevious=Etsi edellinen 16 | SearchableBar.findPrevious.mnemonic=D 17 | SearchableBar.findPrevious.tooltip=Etsi lausekkeen edellinen esiintym\u00e4 18 | SearchableBar.highlights=Korosta 19 | SearchableBar.highlights.mnemonic=K 20 | SearchableBar.highlights.tooltip=Korostaa kaikki lausekkeen esiintym\u00e4t 21 | SearchableBar.matchCase=Sama kirjainkoko 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Toistot 24 | SearchableBar.repeats.mnemonic=O 25 | 26 | SearchableBar.reachedBottom=Sivun loppu saavutettiin 27 | SearchableBar.reachedTop=Sivun alku saavutettiin 28 | SearchableBar.reachedBottomRepeat=Sivun loppu saavutettiin, jatkettiin alusta 29 | SearchableBar.reachedTopRepeat=Sivun alku saavutettiin, jatkettiin lopusta 30 | SearchableBar.notFound=Lauseketta ei l\u00f6ytynyt 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Kaikki) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_eu_ES.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Bilatu hau: 5 | Searchable.noMatch=(ez du topatu) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Bilatu: 11 | SearchableBar.find.mnemonic=B 12 | SearchableBar.findNext=Bilatu hurrengoa 13 | SearchableBar.findNext.mnemonic=H 14 | SearchableBar.findNext.tooltip=Bilatu esaldiko hurrengo agerpena 15 | SearchableBar.findPrevious=Bilatu aurrekoa 16 | SearchableBar.findPrevious.mnemonic=A 17 | SearchableBar.findPrevious.tooltip=Bilatu aurreko agerpena esaldian 18 | SearchableBar.highlights=Azpimarratu 19 | SearchableBar.highlights.mnemonic=A 20 | SearchableBar.highlights.tooltip=Esaldiko agerpen guztiak azpimarratzen ditu 21 | SearchableBar.matchCase=Pareko kasua 22 | SearchableBar.matchCase.mnemonic=P 23 | SearchableBar.repeats=Errepikatu egiten du 24 | SearchableBar.repeats.mnemonic=E 25 | 26 | SearchableBar.reachedBottom=Orriaren bukaerara iritsi da 27 | SearchableBar.reachedTop=Orriaren hasierara iritsi da 28 | SearchableBar.reachedBottomRepeat=Orriaren bukaerara iritsi da, goitik jarraitu 29 | SearchableBar.reachedTopRepeat=Orriaren hasierara iritsi da, betehetik jarraitu du 30 | SearchableBar.notFound=Ez da esaldia topatu 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Denak) -------------------------------------------------------------------------------- /properties/com/jidesoft/plaf/basic/folderChooser_ko.properties: -------------------------------------------------------------------------------- 1 | # 2 | # FolderChooser 3 | # 4 | FolderChooser.new.title=\uC0C8 \uD3F4\uB354 \uC0DD\uC131 5 | FolderChooser.new.folderName=\uC0C8 \uD3F4\uB354\uC758 \uC774\uB984\uC744 \uC785\uB825\uD558\uC2ED\uC2DC\uC624: 6 | FolderChooser.delete.title=\uD3F4\uB354 \uC0AD\uC81C \uD655\uC815 7 | FolderChooser.delete.header=\uC815\uB9D0 \uC120\uD0DD\uB41C \uD3F4\uB354\uB97C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? 8 | FolderChooser.delete.message1=\uC815\uB9D0 \uC774 \uD3F4\uB354\uB97C \uC601\uAD6C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? 9 | FolderChooser.delete.message2=\uC815\uB9D0 \uC774 {0} \uD56D\uBAA9\uB4E4\uC744 \uC601\uAD6C \uC0AD\uC81C\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? 10 | FolderChooser.toolbar.desktop=\uB370\uC2A4\uD06C\uD0D1\uC73C\uB85C \uC804\uD658 11 | FolderChooser.toolbar.home=\uD648\uC73C\uB85C \uC810\uD504 12 | FolderChooser.toolbar.mydocuments=\uB0B4 \uBB38\uC11C\uB85C \uC804\uD658 13 | FolderChooser.toolbar.delete=\uC120\uD0DD\uB41C \uD3F4\uB354 \uC0AD\uC81C 14 | FolderChooser.toolbar.new=\uC120\uD0DD\uB41C \uD3F4\uB354 \uC544\uB798\uC5D0 \uC0C8 \uD3F4\uB354 \uC0DD\uC131 15 | FolderChooser.toolbar.refresh=\uC678\uBD80 \uD3F4\uB354 \uBCC0\uACBD\uC744 \uBC18\uC601\uD558\uAE30 \uC704\uD574 \uD3F4\uB354 \uBCF4\uAE30\uB97C \uC0C8\uB85C \uACE0\uCE68 16 | FolderChooser.toolbar.recent=\uCD5C\uADFC: 17 | -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/basic/LazyMutableTreeNode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)LazyMutableTreeNode.java 10/9/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.basic; 7 | 8 | import javax.swing.tree.DefaultMutableTreeNode; 9 | 10 | /** 11 | * LazyMutableTreeNode.
12 | */ 13 | public abstract class LazyMutableTreeNode extends DefaultMutableTreeNode { 14 | 15 | protected boolean _loaded = false; 16 | 17 | public LazyMutableTreeNode() { 18 | super(); 19 | } 20 | 21 | public LazyMutableTreeNode(Object userObject) { 22 | super(userObject); 23 | } 24 | 25 | public LazyMutableTreeNode(Object userObject, boolean allowsChildren) { 26 | super(userObject, allowsChildren); 27 | } 28 | 29 | @Override 30 | public int getChildCount() { 31 | synchronized (this) { 32 | if (!_loaded) { 33 | _loaded = true; 34 | initChildren(); 35 | } 36 | } 37 | return super.getChildCount(); 38 | } 39 | 40 | public void clear() { 41 | removeAllChildren(); 42 | _loaded = false; 43 | } 44 | 45 | public boolean isLoaded() { 46 | return _loaded; 47 | } 48 | 49 | protected abstract void initChildren(); 50 | 51 | } 52 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/OverlayRadioButton.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)OverlayableRadioButton.java 8/10/2007 3 | * 4 | * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.swing; 8 | 9 | import javax.swing.*; 10 | 11 | public class OverlayRadioButton extends JRadioButton { 12 | 13 | public OverlayRadioButton() { 14 | } 15 | 16 | public OverlayRadioButton(Icon icon) { 17 | super(icon); 18 | } 19 | 20 | public OverlayRadioButton(Action a) { 21 | super(a); 22 | } 23 | 24 | public OverlayRadioButton(Icon icon, boolean selected) { 25 | super(icon, selected); 26 | } 27 | 28 | public OverlayRadioButton(String text) { 29 | super(text); 30 | } 31 | 32 | public OverlayRadioButton(String text, boolean selected) { 33 | super(text, selected); 34 | } 35 | 36 | public OverlayRadioButton(String text, Icon icon) { 37 | super(text, icon); 38 | } 39 | 40 | public OverlayRadioButton(String text, Icon icon, boolean selected) { 41 | super(text, icon, selected); 42 | } 43 | 44 | @Override 45 | public void repaint(long tm, int x, int y, int width, int height) { 46 | super.repaint(tm, x, y, width, height); 47 | OverlayableUtils.repaintOverlayable(this); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_gl_ES.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Buscar: 5 | Searchable.noMatch=(sen coincidencia) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Buscar: 11 | SearchableBar.find.mnemonic=B 12 | SearchableBar.findNext=Buscar seguinte 13 | SearchableBar.findNext.mnemonic=S 14 | SearchableBar.findNext.tooltip=Buscar a seguinte ocorrencia da frase 15 | SearchableBar.findPrevious=Buscar previo 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Buscar a ocorrencia previa da frase 18 | SearchableBar.highlights=Destacar 19 | SearchableBar.highlights.mnemonic=D 20 | SearchableBar.highlights.tooltip=Destaca t\u00f3dalas ocorrencias da frase 21 | SearchableBar.matchCase=Coincidir mai\u00fasculas e min\u00fasculas 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Repetici\u00f3ns 24 | SearchableBar.repeats.mnemonic=R 25 | 26 | SearchableBar.reachedBottom=Chegou ao final da p\u00e1xina 27 | SearchableBar.reachedTop=Chegou ao comezo da p\u00e1xina 28 | SearchableBar.reachedBottomRepeat=Chegou ao final da p\u00e1xina, seguido dende o comezo 29 | SearchableBar.reachedTopRepeat=Chegou ao comezo da p\u00e1xina, seguido dende o final 30 | SearchableBar.notFound=Frase non atopada 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Todo) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_hr_HR.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Pretra\u017ei ovo: 5 | Searchable.noMatch=(nema prona\u0111enog) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Prona\u0111i: 11 | SearchableBar.find.mnemonic=P 12 | SearchableBar.findNext=Prona\u0111i sljede\u0107e 13 | SearchableBar.findNext.mnemonic=P 14 | SearchableBar.findNext.tooltip=Prona\u0111i gdje se pojavljuje izraz 15 | SearchableBar.findPrevious=Prona\u0111i prethodno 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Prona\u0111i gdje se prije pojavio izraz 18 | SearchableBar.highlights=Naglasi 19 | SearchableBar.highlights.mnemonic=N 20 | SearchableBar.highlights.tooltip=Nagla\u0161ava sva mjesta gdje se pojavljuje izraz 21 | SearchableBar.matchCase=Pazi na velika i mala slova 22 | SearchableBar.matchCase.mnemonic=P 23 | SearchableBar.repeats=Ponavljanja 24 | SearchableBar.repeats.mnemonic=P 25 | 26 | SearchableBar.reachedBottom=Dosegnuto je dno stranice 27 | SearchableBar.reachedTop=Dosegnut je vrh stranice 28 | SearchableBar.reachedBottomRepeat=Dosegnuto je dno stranice, nastavak s vrha 29 | SearchableBar.reachedTopRepeat=Dosegnut je vrh stranice, nastavak s dna 30 | SearchableBar.notFound=Izraz nije prona\u0111en 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Sve) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_no.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=S\u00f8k etter: 5 | Searchable.noMatch=(Ingen treff) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Finn: 11 | SearchableBar.find.mnemonic=F 12 | SearchableBar.findNext=Finn neste 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Finn det neste treff 15 | SearchableBar.findPrevious=Find forrige 16 | SearchableBar.findPrevious.mnemonic=F 17 | SearchableBar.findPrevious.tooltip=Finn forrige treff 18 | SearchableBar.highlights=Uthev 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Uthever alle treff 21 | SearchableBar.matchCase=Forskjell p\u00e5 store og sm\u00e5 22 | SearchableBar.matchCase.mnemonic=P 23 | SearchableBar.wholeWords=Hele ordet 24 | SearchableBar.wholeWords.mnemonic=O 25 | SearchableBar.repeats=Gjentar 26 | SearchableBar.repeats.mnemonic=R 27 | 28 | SearchableBar.reachedBottom=N\u00e5dde bunnen av siden 29 | SearchableBar.reachedTop=N\u00e5dde toppen av siden 30 | SearchableBar.reachedBottomRepeat=N\u00e5dde bunnen av siden, fortsetter fra toppen 31 | SearchableBar.reachedTopRepeat=N\u00e5dde toppen av siden, fortsetter fra bunnen 32 | SearchableBar.notFound=Ikke funnet 33 | SearchableBar.matches=Treff(es) 34 | 35 | # 36 | # CheckBoxList 37 | # 38 | CheckBoxList.all=(Alle) 39 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_sv.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=S\u00f6k efter: 5 | Searchable.noMatch=(ingen matchning) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=S\u00f6k: 11 | SearchableBar.find.mnemonic=S 12 | SearchableBar.findNext=S\u00f6k n\u00e4sta 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=S\u00f6k n\u00e4sta f\u00f6rekomst av frasen 15 | SearchableBar.findPrevious=S\u00f6k f\u00f6reg\u00e5ende 16 | SearchableBar.findPrevious.mnemonic=F 17 | SearchableBar.findPrevious.tooltip=S\u00f6k f\u00f6reg\u00e5ende f\u00f6rekomst av frasen 18 | SearchableBar.highlights=Markera 19 | SearchableBar.highlights.mnemonic=M 20 | SearchableBar.highlights.tooltip=Markera alla f\u00f6rekomster av frasen 21 | SearchableBar.matchCase=Matcha gemener/versaler 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Upprepningar 24 | SearchableBar.repeats.mnemonic=U 25 | 26 | SearchableBar.reachedBottom=Kom till slutet av sidan 27 | SearchableBar.reachedTop=Kom till b\u00f6rjan av sidan 28 | SearchableBar.reachedBottomRepeat=Kom till slutet av sidan, fortsatte fr\u00e5n b\u00f6rjan 29 | SearchableBar.reachedTopRepeat=Kom till b\u00f6rjan av sidan, fortsatte fr\u00e5n slutet 30 | SearchableBar.notFound=Frasen hittades inte 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Alla) -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/xerto/XertoJideButtonUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)XertoJideButtonUI.java 5/6/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.plaf.xerto; 7 | 8 | import com.jidesoft.plaf.basic.BasicJideButtonUI; 9 | import com.sun.java.swing.plaf.windows.WindowsButtonUI; 10 | 11 | import javax.swing.*; 12 | import javax.swing.plaf.ComponentUI; 13 | import java.awt.*; 14 | 15 | /** 16 | */ 17 | public class XertoJideButtonUI extends BasicJideButtonUI { 18 | private static WindowsButtonUI _buttonUI = new WindowsButtonUI(); 19 | 20 | public static ComponentUI createUI(JComponent c) { 21 | return new XertoJideButtonUI(); 22 | } 23 | 24 | // ******************************** 25 | // Install PLAF 26 | // ******************************** 27 | @Override 28 | public void installUI(JComponent c) { 29 | _buttonUI.installUI(c); 30 | if (c instanceof JButton) { 31 | c.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3)); 32 | ((JButton) c).setRolloverEnabled(true); 33 | } 34 | } 35 | 36 | @Override 37 | public void uninstallUI(JComponent c) { 38 | _buttonUI.uninstallUI(c); 39 | } 40 | 41 | @Override 42 | public void paint(Graphics g, JComponent c) { 43 | _buttonUI.paint(g, c); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/com/jidesoft/comparator/PrioritizedObjectComparator.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.comparator; 2 | 3 | import com.jidesoft.swing.Prioritized; 4 | 5 | import java.util.Comparator; 6 | 7 | /** 8 | * Comparator for objects that implements {@link com.jidesoft.swing.Prioritized} 9 | * interface. It is a singleton pattern. You use {@link #getInstance()} to get an instance. 10 | */ 11 | public class PrioritizedObjectComparator implements Comparator { 12 | private static PrioritizedObjectComparator singleton = null; 13 | 14 | protected PrioritizedObjectComparator() { 15 | } 16 | 17 | /** 18 | * Gets an instance of PrioritizedObjectComparator. 19 | * 20 | * @return an instance Cof PrioritizedObjectComparator. 21 | */ 22 | public static PrioritizedObjectComparator getInstance() { 23 | if (singleton == null) { 24 | singleton = new PrioritizedObjectComparator(); 25 | } 26 | return singleton; 27 | } 28 | 29 | public int compare(Object o1, Object o2) { 30 | int p1 = 0; 31 | if (o1 instanceof Prioritized) { 32 | p1 = ((Prioritized) o1).getPriority(); 33 | } 34 | int p2 = 0; 35 | if (o2 instanceof Prioritized) { 36 | p2 = ((Prioritized) o2).getPriority(); 37 | } 38 | return p1 - p2; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /test/com/jidesoft/swing/TestResizableWindow.java: -------------------------------------------------------------------------------- 1 | package com.jidesoft.swing; 2 | 3 | import java.awt.Color; 4 | import java.awt.EventQueue; 5 | import java.awt.event.ActionEvent; 6 | 7 | import javax.swing.AbstractAction; 8 | import javax.swing.BorderFactory; 9 | import javax.swing.JButton; 10 | 11 | public class TestResizableWindow { 12 | // 13 | public static void main(String[] args) { 14 | // TEST AGAIN AND AGAIN AND AGAIN 15 | EventQueue.invokeLater(new Runnable() { 16 | 17 | @Override 18 | public void run() { 19 | final ResizableWindow resizableWindow = new ResizableWindow(); 20 | resizableWindow.setBorder(BorderFactory.createLineBorder(Color.BLACK, 3)); 21 | resizableWindow.getResizable().setResizableCorners(Resizable.ALL); 22 | resizableWindow.getContentPane().add(new JButton(new AbstractAction("Close window") { 23 | @Override 24 | public void actionPerformed(ActionEvent e) { 25 | resizableWindow.dispose(); 26 | System.exit(0); 27 | } 28 | })); 29 | resizableWindow.pack(); 30 | resizableWindow.setLocationRelativeTo(null); 31 | resizableWindow.setVisible(true); 32 | } 33 | }); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/swing.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Search for: 5 | Searchable.noMatch=(no match) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Find: 11 | SearchableBar.find.mnemonic=F 12 | SearchableBar.findNext=Find Next 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Find the next occurrence of the phrase 15 | SearchableBar.findPrevious=Find Previous 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Find the previous occurrence of the phrase 18 | SearchableBar.highlights=Highlight 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Highlights all occurrences of the phrase 21 | SearchableBar.matchCase=Match Case 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.wholeWords=Whole Words 24 | SearchableBar.wholeWords.mnemonic=W 25 | SearchableBar.repeats=Repeats 26 | SearchableBar.repeats.mnemonic=R 27 | 28 | SearchableBar.reachedBottom=Reached bottom of the page 29 | SearchableBar.reachedTop=Reached top of the page 30 | SearchableBar.reachedBottomRepeat=Reached bottom of the page, continued from top 31 | SearchableBar.reachedTopRepeat=Reached top of the page, continued from bottom 32 | SearchableBar.notFound=Phrase not found 33 | SearchableBar.matches=Match(es) 34 | 35 | # 36 | # CheckBoxList 37 | # 38 | CheckBoxList.all=(All) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_da.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=S\u00F8g efter: 5 | Searchable.noMatch=(ingen match) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Find: 11 | SearchableBar.find.mnemonic=F 12 | SearchableBar.findNext=Find N\u00E6ste 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Find n\u00E6ste forekomst af frasen 15 | SearchableBar.findPrevious=Find Tidligere 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Find tidligere forekomster af frasen 18 | SearchableBar.highlights=Fremh\u00E6vet 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Fremh\u00E6ver alle forekomster af frasen 21 | SearchableBar.matchCase=Match Sag 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.wholeWords=Hele Ord 24 | SearchableBar.wholeWords.mnemonic=w 25 | SearchableBar.repeats=Gentagelser 26 | SearchableBar.repeats.mnemonic=R 27 | 28 | SearchableBar.reachedBottom=N\u00E5ede bunden af siden 29 | SearchableBar.reachedTop=N\u00E5ede til toppen af siden 30 | SearchableBar.reachedBottomRepeat=N\u00E5ede bunden af siden, fortsatte til toppen 31 | SearchableBar.reachedTopRepeat=N\u00E5ede til toppen af siden, fortsatte fra bunden 32 | SearchableBar.notFound=Frase ikke fundet 33 | SearchableBar.matches=Match 34 | 35 | # 36 | # CheckBoxList 37 | # 38 | CheckBoxList.all=(Alle) 39 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_en.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Search for: 5 | Searchable.noMatch=(no match) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Find: 11 | SearchableBar.find.mnemonic=F 12 | SearchableBar.findNext=Find Next 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Find the next occurrence of the phrase 15 | SearchableBar.findPrevious=Find Previous 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Find the previous occurrence of the phrase 18 | SearchableBar.highlights=Highlight 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Highlights all occurrences of the phrase 21 | SearchableBar.matchCase=Match Case 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.wholeWords=Whole Words 24 | SearchableBar.wholeWords.mnemonic=W 25 | SearchableBar.repeats=Repeats 26 | SearchableBar.repeats.mnemonic=R 27 | 28 | SearchableBar.reachedBottom=Reached bottom of the page 29 | SearchableBar.reachedTop=Reached top of the page 30 | SearchableBar.reachedBottomRepeat=Reached bottom of the page, continued from top 31 | SearchableBar.reachedTopRepeat=Reached top of the page, continued from bottom 32 | SearchableBar.notFound=Phrase not found 33 | SearchableBar.matches=Match(es) 34 | 35 | # 36 | # CheckBoxList 37 | # 38 | CheckBoxList.all=(All) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_pl_PL.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Znajd\u017a 5 | Searchable.noMatch=(nie znaleziono) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Znajd\u017a: 11 | SearchableBar.find.mnemonic=Z 12 | SearchableBar.findNext=Znajd\u017a nast\u0119pny 13 | SearchableBar.findNext.mnemonic=Z 14 | SearchableBar.findNext.tooltip=Znajd\u017a kolejny element 15 | SearchableBar.findPrevious=Znajd\u017a poprzedni 16 | SearchableBar.findPrevious.mnemonic=Z 17 | SearchableBar.findPrevious.tooltip=Znajd\u017a poprzedni element 18 | SearchableBar.highlights=Zaznacz 19 | SearchableBar.highlights.mnemonic=Z 20 | SearchableBar.highlights.tooltip=Wyr\u00f3\u017cnij wszystkie elementy 21 | SearchableBar.matchCase=Uwzgl\u0119dniaj wielko\u015b\u0107 liter 22 | SearchableBar.matchCase.mnemonic=U 23 | SearchableBar.repeats=Powt\u00f3rz 24 | SearchableBar.repeats.mnemonic=P 25 | 26 | SearchableBar.reachedBottom=Koniec strony 27 | SearchableBar.reachedTop=Pocz\u0105tek strony 28 | SearchableBar.reachedBottomRepeat=Wyszukiwanie osi\u0105gn\u0119\u0142o koniec strony, kontynuacja od pocz\u0105tku 29 | SearchableBar.reachedTopRepeat=Wyszukiwanie osi\u0105gn\u0119\u0142o pocz\u0105tek strony, kontynuacja od ko\u0144ca 30 | SearchableBar.notFound=Szukany element nie zosta\u0142 znaleziony. 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Wszystko) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_es.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Buscar: 5 | Searchable.noMatch=(no se ha encontrado) 6 | # 7 | # Strings for SearchableBar classes 8 | # 9 | SearchableBar.find=Buscar: 10 | SearchableBar.find.mnemonic=B 11 | SearchableBar.findNext=Buscar siguiente 12 | SearchableBar.findNext.mnemonic=N 13 | SearchableBar.findNext.tooltip=Buscar la siguiente aparici\u00f3n de la frase 14 | SearchableBar.findPrevious=Encontrar anterior 15 | SearchableBar.findPrevious.mnemonic=A 16 | SearchableBar.findPrevious.tooltip=Buscar la aparici\u00f3n anterior de la frase 17 | SearchableBar.highlights=Subrayar 18 | SearchableBar.highlights.mnemonic=H 19 | SearchableBar.highlights.tooltip=Subraya todas las apariciones de la frase 20 | SearchableBar.matchCase=May\u00fasculas y min\u00fasculas 21 | SearchableBar.matchCase.mnemonic=M 22 | SearchableBar.repeats=Repite 23 | SearchableBar.repeats.mnemonic=R 24 | SearchableBar.reachedBottom=Se ha llegado al final de la p\u00e1gina 25 | SearchableBar.reachedTop=Se ha llegado al principio de la p\u00e1gina 26 | SearchableBar.reachedBottomRepeat=Se ha llegado al final de la p\u00e1gina, contin\u00faa desde el principio 27 | SearchableBar.reachedTopRepeat=Se ha llegado al principio de la p\u00e1gina, contin\u00faa desde el final 28 | SearchableBar.notFound=No se ha encontrado la frase 29 | 30 | # 31 | # CheckBoxList 32 | # 33 | CheckBoxList.all=(Todas) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_hu_HU.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Keres\u00e9s: 5 | Searchable.noMatch=(no match) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Keres: 11 | SearchableBar.find.mnemonic=K 12 | SearchableBar.findNext=K\u00f6vetkez\u0151 tal\u00e1lat 13 | SearchableBar.findNext.mnemonic=K 14 | SearchableBar.findNext.tooltip=A mondat k\u00f6vetkez\u0151 tal\u00e1lata 15 | SearchableBar.findPrevious=El\u0151z\u0151 tal\u00e1lat 16 | SearchableBar.findPrevious.mnemonic=E 17 | SearchableBar.findPrevious.tooltip=A mondat el\u0151z\u0151 tal\u00e1lata 18 | SearchableBar.highlights=Kiemel 19 | SearchableBar.highlights.mnemonic=K 20 | SearchableBar.highlights.tooltip=Kiemeli a kifejez\u00e9s \u00f6sszes el\u0151fordul\u00e1s\u00e1t 21 | SearchableBar.matchCase=Nagy/kisbet\u0171 tal\u00e1ltat\u00e1sa 22 | SearchableBar.matchCase.mnemonic=N 23 | SearchableBar.repeats=Ism\u00e9tl\u00e9s 24 | SearchableBar.repeats.mnemonic=I 25 | SearchableBar.reachedBottom=Lap alj\u00e1ra \u00e9rt 26 | SearchableBar.reachedTop=Lap tetej\u00e9re \u00e9rt 27 | SearchableBar.reachedBottomRepeat=Lap alj\u00e1ra \u00e9rt, folytat\u00e1s a tetej\u00e9r\u0151l 28 | SearchableBar.reachedTopRepeat=Lap tetej\u00e9re \u00e9rt, folytat\u00e1s az alj\u00e1t\u00f3l 29 | SearchableBar.notFound=Nincs tal\u00e1lat 30 | 31 | # 32 | # CheckBoxList 33 | # 34 | CheckBoxList.all=(\u00d6sszes) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_nl.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Zoeken naar: 5 | Searchable.noMatch=(geen treffers) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Zoeken: 11 | SearchableBar.find.mnemonic=Z 12 | SearchableBar.findNext=Volgende zoeken 13 | SearchableBar.findNext.mnemonic=O 14 | SearchableBar.findNext.tooltip=Volgende instantie zinsnede zoeken 15 | SearchableBar.findPrevious=Vorige zoeken 16 | SearchableBar.findPrevious.mnemonic=R 17 | SearchableBar.findPrevious.tooltip=Vorige instantie van de zinsnede zoeken 18 | SearchableBar.highlights=Markeren 19 | SearchableBar.highlights.mnemonic=M 20 | SearchableBar.highlights.tooltip=Alle instanties van de zinsnede zoeken 21 | SearchableBar.matchCase=Hoofdlettergevoelig 22 | SearchableBar.matchCase.mnemonic=G 23 | SearchableBar.wholeWords=Hele woorden 24 | SearchableBar.wholeWords.mnemonic=W 25 | SearchableBar.repeats=Herhalingen 26 | SearchableBar.repeats.mnemonic=H 27 | 28 | SearchableBar.reachedBottom=Einde van pagina bereikt 29 | SearchableBar.reachedTop=Begin van pagina bereikt 30 | SearchableBar.reachedBottomRepeat=Einde van pagina bereikt, voortgezet vanaf begin pagina 31 | SearchableBar.reachedTopRepeat=Begin van pagina bereikt, voortgezet vanaf einde pagina 32 | SearchableBar.notFound=Zinsnede niet aangetroffen 33 | SearchableBar.matches=Overeenkomst(en) 34 | 35 | # 36 | # CheckBoxList 37 | # 38 | CheckBoxList.all=(Alle) 39 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_ca_ES.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Cerca: 5 | Searchable.noMatch=(cap coincid\u00e8ncia) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Cerca: 11 | SearchableBar.find.mnemonic=C 12 | SearchableBar.findNext=Cerca seg\u00fcent 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Cerca la seg\u00fcent aparici\u00f3 de la frase 15 | SearchableBar.findPrevious=Cerca anterior 16 | SearchableBar.findPrevious.mnemonic=A 17 | SearchableBar.findPrevious.tooltip=Cerca l'aparici\u00f3 anterior de la frase 18 | SearchableBar.highlights=Ressalta 19 | SearchableBar.highlights.mnemonic=R 20 | SearchableBar.highlights.tooltip=Ressalta totes les aparicions de la frase 21 | SearchableBar.matchCase=Coincid\u00e8ncia de maj\u00fascules i min\u00fascules 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Repeticions 24 | SearchableBar.repeats.mnemonic=R 25 | 26 | SearchableBar.reachedBottom=S'ha arribat al final de la p\u00e0gina 27 | SearchableBar.reachedTop=S'ha arribat al principi de la p\u00e0gina 28 | SearchableBar.reachedBottomRepeat=S'ha arribat al final de la p\u00e0gina, continua des del principi 29 | SearchableBar.reachedTopRepeat=S'ha arribat al principi de la p\u00e0gina, continua des del final 30 | SearchableBar.notFound=No s'ha trobat la frase 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Tot) -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_es_MX.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Buscar: 5 | Searchable.noMatch=(no se ha encontrado) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Buscar: 11 | SearchableBar.find.mnemonic=B 12 | SearchableBar.findNext=Buscar siguiente 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=Buscar la siguiente aparici\u00f3n de la frase 15 | SearchableBar.findPrevious=Encontrar anterior 16 | SearchableBar.findPrevious.mnemonic=P 17 | SearchableBar.findPrevious.tooltip=Buscar la anterior aparici\u00f3n de la frase 18 | SearchableBar.highlights=Subrayar 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Subraya todas las apariciones de la frase 21 | SearchableBar.matchCase=May\u00fasculas y min\u00fasculas 22 | SearchableBar.matchCase.mnemonic=M 23 | SearchableBar.repeats=Repite 24 | SearchableBar.repeats.mnemonic=R 25 | 26 | SearchableBar.reachedBottom=Se ha llegado al final de la p\u00e1gina 27 | SearchableBar.reachedTop=Se ha llegado al principio de la p\u00e1gina 28 | SearchableBar.reachedBottomRepeat=Se ha llegado al final de la p\u00e1gina, contin\u00faa desde el principio 29 | SearchableBar.reachedTopRepeat=Se ha llegado al principio de la p\u00e1gina, contin\u00faa desde el final 30 | SearchableBar.notFound=No se ha encontrado la frase 31 | 32 | # 33 | # CheckBoxList 34 | # 35 | CheckBoxList.all=(Todas) -------------------------------------------------------------------------------- /src/com/jidesoft/plaf/eclipse/EclipsePopupMenuSeparatorUI.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)EclipsePopupMenuSeparatorUI.java 3 | * 4 | * Copyright 2002 JIDE Software Inc. All rights reserved. 5 | */ 6 | 7 | package com.jidesoft.plaf.eclipse; 8 | 9 | import com.jidesoft.plaf.UIDefaultsLookup; 10 | 11 | import javax.swing.*; 12 | import javax.swing.plaf.ComponentUI; 13 | import javax.swing.plaf.basic.BasicSeparatorUI; 14 | import java.awt.*; 15 | 16 | /** 17 | * PopupMenuSeparator UI implementation 18 | */ 19 | public class EclipsePopupMenuSeparatorUI extends BasicSeparatorUI { 20 | public static ComponentUI createUI(JComponent c) { 21 | return new EclipsePopupMenuSeparatorUI(); 22 | } 23 | 24 | @Override 25 | public void paint(Graphics g, JComponent c) { 26 | if (!(c.getParent() instanceof JPopupMenu)) { 27 | super.paint(g, c); 28 | } 29 | 30 | Dimension s = c.getSize(); 31 | 32 | Color foreground = UIDefaultsLookup.getColor("PopupMenuSeparator.foreground"); 33 | Color background = UIDefaultsLookup.getColor("PopupMenuSeparator.background"); 34 | 35 | g.setColor(background); 36 | g.drawLine(1, 0, s.width - 2, 0); 37 | 38 | g.setColor(foreground); 39 | g.drawLine(1, 1, s.width - 2, 1); 40 | } 41 | 42 | @Override 43 | public Dimension getPreferredSize(JComponent c) { 44 | return new Dimension(0, 2); 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/com/jidesoft/swing/ButtonStyle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)ButtonStyle.java 7/1/2005 3 | * 4 | * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved. 5 | */ 6 | package com.jidesoft.swing; 7 | 8 | /** 9 | * The definitions of various button style. This is used by JideButton and JideSplitButton. 10 | */ 11 | public interface ButtonStyle { 12 | public static final String BUTTON_STYLE_PROPERTY = "buttonStyle"; 13 | 14 | static final int TOOLBAR_STYLE = 0; 15 | static final int TOOLBOX_STYLE = 1; 16 | static final int FLAT_STYLE = 2; 17 | static final int HYPERLINK_STYLE = 3; 18 | 19 | // we used the same definition as Mac OS X. 20 | // http://developer.apple.com/technotes/tn2007/tn2196.html#JBUTTON_BUTTONTYPE 21 | public static final String CLIENT_PROPERTY_SEGMENT_POSITION = "JButton.segmentPosition"; 22 | public static final String SEGMENT_POSITION_FIRST = "first"; 23 | public static final String SEGMENT_POSITION_MIDDLE = "middle"; 24 | public static final String SEGMENT_POSITION_LAST = "last"; 25 | public static final String SEGMENT_POSITION_ONLY = "only"; 26 | 27 | /** 28 | * Gets the button style. 29 | * 30 | * @return the button style. 31 | */ 32 | int getButtonStyle(); 33 | 34 | /** 35 | * Sets the button style. 36 | * 37 | * @param buttonStyle the button style. 38 | */ 39 | void setButtonStyle(int buttonStyle); 40 | } 41 | -------------------------------------------------------------------------------- /properties/com/jidesoft/swing/swing_de.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Strings for Searchable classes 3 | # 4 | Searchable.searchFor=Suche nach: 5 | Searchable.noMatch=(Keine \u00DCbereinstimmung) 6 | 7 | # 8 | # Strings for SearchableBar classes 9 | # 10 | SearchableBar.find=Suchen: 11 | SearchableBar.find.mnemonic=S 12 | SearchableBar.findNext=N\u00E4chste suchen 13 | SearchableBar.findNext.mnemonic=N 14 | SearchableBar.findNext.tooltip=N\u00E4chstes Auftreten des Ausdrucks suchen 15 | SearchableBar.findPrevious=Vorherige suchen 16 | SearchableBar.findPrevious.mnemonic=V 17 | SearchableBar.findPrevious.tooltip=Vorheriges Auftreten des Ausdrucks suchen 18 | SearchableBar.highlights=Hervorheben 19 | SearchableBar.highlights.mnemonic=H 20 | SearchableBar.highlights.tooltip=Jedes Auftreten des Ausdrucks hervorheben 21 | SearchableBar.matchCase=Gro\u00DF-/Kleinschreibung 22 | SearchableBar.matchCase.mnemonic=K 23 | SearchableBar.wholeWords=Nur ganze W\u00F6rter suchen 24 | SearchableBar.wholeWords.mnemonic=G 25 | SearchableBar.repeats=Wiederholung 26 | SearchableBar.repeats.mnemonic=w 27 | 28 | SearchableBar.reachedBottom=Seitenende erreicht 29 | SearchableBar.reachedTop=Seitenanfang erreicht 30 | SearchableBar.reachedBottomRepeat=Seitenende erreicht, von oben fortgesetzt 31 | SearchableBar.reachedTopRepeat=Seitenanfang erreicht, von unten fortgesetzt 32 | SearchableBar.notFound=Ausdruck nicht gefunden 33 | SearchableBar.matches=Exakt \u00FCbereinstimmend 34 | 35 | # 36 | # CheckBoxList 37 | # 38 | CheckBoxList.all=(Alle) 39 | --------------------------------------------------------------------------------