Package org.omegat.gui.properties
Class SegmentPropertiesListView
java.lang.Object
org.omegat.gui.properties.SegmentPropertiesListView
- All Implemented Interfaces:
ISegmentPropertiesView
A list-based view of key=value properties of the current segment.
This is not a JList but instead a collection of distinct instances of
SegmentPropertiesListCell. This is because the initial JList-based
implementation had rendering issues when trying to make the gear menu icons
appear interactive.
-
Field Summary
Fields inherited from interface org.omegat.gui.properties.ISegmentPropertiesView
FOCUS_BORDER, FOCUS_COMPOUND_BORDER, MARGIN_BORDER, PROPERTY_TRANSLATION_KEY, PROPERTY_TRANSLATION_NVERB, PROPERTY_TRANSLATION_VERB, SETTINGS_ICON, SETTINGS_ICON_INACTIVE, SETTINGS_ICON_INVISIBLE, SETTINGS_ICON_PRESSED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinstall(SegmentPropertiesArea parent) voidnotifyUser(List<Integer> notify) voidupdate()
-
Constructor Details
-
SegmentPropertiesListView
public SegmentPropertiesListView()
-
-
Method Details
-
install
- Specified by:
installin interfaceISegmentPropertiesView
-
update
public void update()- Specified by:
updatein interfaceISegmentPropertiesView
-
getViewComponent
- Specified by:
getViewComponentin interfaceISegmentPropertiesView
-
notifyUser
- Specified by:
notifyUserin interfaceISegmentPropertiesView
-
getKeyAtPoint
- Specified by:
getKeyAtPointin interfaceISegmentPropertiesView
-