Package com.io7m.jwheatsheaf.api
Class JWFileChooserStringOverridesAbstract
java.lang.Object
com.io7m.jwheatsheaf.api.JWFileChooserStringOverridesAbstract
- All Implemented Interfaces:
JWFileChooserStringOverridesType
- Direct Known Subclasses:
JWFileChooserStringOverridesEmpty
public abstract class JWFileChooserStringOverridesAbstract
extends Object
implements JWFileChooserStringOverridesType
An abstract set of string overrides that override nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA message override for the "Open" button.A message override for the "Save" button.A message override for the "Replace" confirmation button.confirmReplaceMessage
(String file) A message override for the "Do you want to replace this file?" message.A message override for the "Replace?" confirmation dialog header.
-
Constructor Details
-
JWFileChooserStringOverridesAbstract
protected JWFileChooserStringOverridesAbstract()
-
-
Method Details
-
buttonOpen
A message override for the "Open" button. Overrides of this method are NOT required to call this method viasuper
.- Specified by:
buttonOpen
in interfaceJWFileChooserStringOverridesType
- Returns:
- A message override
-
buttonSave
A message override for the "Save" button. Overrides of this method are NOT required to call this method viasuper
.- Specified by:
buttonSave
in interfaceJWFileChooserStringOverridesType
- Returns:
- A message override
-
confirmReplaceMessage
A message override for the "Do you want to replace this file?" message. Overrides of this method are NOT required to call this method viasuper
.- Specified by:
confirmReplaceMessage
in interfaceJWFileChooserStringOverridesType
- Parameters:
file
- The file- Returns:
- A message override
-
confirmReplaceButton
A message override for the "Replace" confirmation button. Overrides of this method are NOT required to call this method viasuper
.- Specified by:
confirmReplaceButton
in interfaceJWFileChooserStringOverridesType
- Returns:
- A message override
-
confirmTitleMessage
A message override for the "Replace?" confirmation dialog header. Overrides of this method are NOT required to call this method viasuper
.- Specified by:
confirmTitleMessage
in interfaceJWFileChooserStringOverridesType
- Returns:
- A message override
-