Package limn.backend.spi
Record Class SystemMenuLabels
java.lang.Object
java.lang.Record
limn.backend.spi.SystemMenuLabels
- Record Components:
about- names the applicationsettings- opens the settingsservices- the system's serviceshide- names the applicationhideOthers- hides every other applicationshowAll- shows them againquit- names the applicationwindow- the Window menu's titleminimize- puts the window awayzoom- makes the window as large as its content asksedit- the title of the Edit menu the toolkit gives a panel of the system's, whose text fields take their editing chords from the barundo- the six editing commands of that menuredo- likewisecut- likewisecopy- likewisepaste- likewiseselectAll- likewise
public record SystemMenuLabels(String about, String settings, String services, String hide, String hideOthers, String showAll, String quit, String window, String minimize, String zoom, String edit, String undo, String redo, String cut, String copy, String paste, String selectAll)
extends Record
The words the toolkit writes in a system's menu bar for the items that are not the
application's: those of the application's own menu and of a Window menu given to an
application that named none. In the application's language, with the wording the system uses.
-
Constructor Summary
ConstructorsConstructorDescriptionSystemMenuLabels(String about, String settings, String services, String hide, String hideOthers, String showAll, String quit, String window, String minimize, String zoom, String edit, String undo, String redo, String cut, String copy, String paste, String selectAll) Creates an instance of aSystemMenuLabelsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionabout()Returns the value of theaboutrecord component.copy()Returns the value of thecopyrecord component.static SystemMenuLabelscut()Returns the value of thecutrecord component.edit()Returns the value of theeditrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hide()Returns the value of thehiderecord component.Returns the value of thehideOthersrecord component.minimize()Returns the value of theminimizerecord component.paste()Returns the value of thepasterecord component.quit()Returns the value of thequitrecord component.redo()Returns the value of theredorecord component.Returns the value of theselectAllrecord component.services()Returns the value of theservicesrecord component.settings()Returns the value of thesettingsrecord component.showAll()Returns the value of theshowAllrecord component.final StringtoString()Returns a string representation of this record class.undo()Returns the value of theundorecord component.window()Returns the value of thewindowrecord component.zoom()Returns the value of thezoomrecord component.
-
Constructor Details
-
SystemMenuLabels
public SystemMenuLabels(String about, String settings, String services, String hide, String hideOthers, String showAll, String quit, String window, String minimize, String zoom, String edit, String undo, String redo, String cut, String copy, String paste, String selectAll) Creates an instance of aSystemMenuLabelsrecord class.- Parameters:
about- the value for theaboutrecord componentsettings- the value for thesettingsrecord componentservices- the value for theservicesrecord componenthide- the value for thehiderecord componenthideOthers- the value for thehideOthersrecord componentshowAll- the value for theshowAllrecord componentquit- the value for thequitrecord componentwindow- the value for thewindowrecord componentminimize- the value for theminimizerecord componentzoom- the value for thezoomrecord componentedit- the value for theeditrecord componentundo- the value for theundorecord componentredo- the value for theredorecord componentcut- the value for thecutrecord componentcopy- the value for thecopyrecord componentpaste- the value for thepasterecord componentselectAll- the value for theselectAllrecord component
-
-
Method Details
-
current
- Parameters:
applicationName- the application's name, as the system shows it in its bar- Returns:
- the labels in the application's language now
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
about
Returns the value of theaboutrecord component.- Returns:
- the value of the
aboutrecord component
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-
services
Returns the value of theservicesrecord component.- Returns:
- the value of the
servicesrecord component
-
hide
Returns the value of thehiderecord component.- Returns:
- the value of the
hiderecord component
-
hideOthers
Returns the value of thehideOthersrecord component.- Returns:
- the value of the
hideOthersrecord component
-
showAll
Returns the value of theshowAllrecord component.- Returns:
- the value of the
showAllrecord component
-
quit
Returns the value of thequitrecord component.- Returns:
- the value of the
quitrecord component
-
window
Returns the value of thewindowrecord component.- Returns:
- the value of the
windowrecord component
-
minimize
Returns the value of theminimizerecord component.- Returns:
- the value of the
minimizerecord component
-
zoom
Returns the value of thezoomrecord component.- Returns:
- the value of the
zoomrecord component
-
edit
Returns the value of theeditrecord component.- Returns:
- the value of the
editrecord component
-
undo
Returns the value of theundorecord component.- Returns:
- the value of the
undorecord component
-
redo
Returns the value of theredorecord component.- Returns:
- the value of the
redorecord component
-
cut
Returns the value of thecutrecord component.- Returns:
- the value of the
cutrecord component
-
copy
Returns the value of thecopyrecord component.- Returns:
- the value of the
copyrecord component
-
paste
Returns the value of thepasterecord component.- Returns:
- the value of the
pasterecord component
-
selectAll
Returns the value of theselectAllrecord component.- Returns:
- the value of the
selectAllrecord component
-