Class ComponentPropertyTermFinder
- java.lang.Object
-
- com.inductiveautomation.factorypmi.designer.i18n.search.ComponentPropertyTermFinder
-
- All Implemented Interfaces:
ComponentTermFinder
- Direct Known Subclasses:
AlarmJournalTableTermFinder,AlarmStatusTableTermFinder,EquipmentScheduleViewTermFinder,LinearScaleTermFinder,MovingAnalogIndicatorTermFinder,PMI2StateButtonTermFinder,PMIBarChartTermFinder,PMIBoxWhiskerChartTermFinder,PMIChartTermFinder,PMIComboBoxTermFinder,PMICommentsPanelTermFinder,PMICompassTermFinder,PMIControlButtonTermFinder,PMIDateRangeTermFinder,PMIDateTimePopupSelectorTermFinder,PMIDateTimeSelectorTermFinder,PMIDayViewTermFinder,PMIEasyChartTermFinder,PMIGanttChartTermFinder,PMINStateButtonTermFinder,PMIPieChartTermFinder,PMIStatusChartTermFinder,PMITableTermFinder,PMITabStripTermFinder,PMIWeekViewTermFinder,RadarChart2TermFinder,RealtimeDateRangeTermFinder,ReportViewerTermFinder,RosterManagementPanelTermFinder,ScheduleManagementPanelTermFinder,UserManagementPanelTermFinder,VisionAdvancedTableTermFinder
public class ComponentPropertyTermFinder extends java.lang.Object implements ComponentTermFinder
The basic term finder looks through all properties of the bean for standard string based translatable properties. Also respects components' "isTranslatable" property.
-
-
Constructor Summary
Constructors Constructor Description ComponentPropertyTermFinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static voidaddFromBasicProperties(java.util.List<TermDescriptor> ret, javax.swing.JComponent component)protected static voidaddFromDynamicProperties(java.util.List<TermDescriptor> ret, javax.swing.JComponent component)protected static voidaddFromStyles(java.util.List<TermDescriptor> ret, Dataset styleDs)voidgetTermsFor(javax.swing.JComponent component, java.util.List<TermDescriptor> results)Will create TermDescriptors for each translatable term found in the component.
-
-
-
Method Detail
-
getTermsFor
public void getTermsFor(javax.swing.JComponent component, java.util.List<TermDescriptor> results)Description copied from interface:ComponentTermFinderWill create TermDescriptors for each translatable term found in the component.- Specified by:
getTermsForin interfaceComponentTermFinder
-
addFromBasicProperties
protected static void addFromBasicProperties(java.util.List<TermDescriptor> ret, javax.swing.JComponent component)
-
addFromDynamicProperties
protected static void addFromDynamicProperties(java.util.List<TermDescriptor> ret, javax.swing.JComponent component)
-
addFromStyles
protected static void addFromStyles(java.util.List<TermDescriptor> ret, Dataset styleDs)
-
-