Package-level declarations
Entry point of the plugin. Contains main classes, shared classes, and helper classes.
Types
A mode in which a word should be capitalized.
Thrown if a random datum could not be generated.
Transparently extends or alters the functionality of a Scheme with a decorating function.
Reports exceptions on GitHub.
Knows how to report IssueData to GitHub.
A GitHub authentication token that is slightly scrambled (and NOT SECURE).
Describes an Icon, and can instantiate an icon, but is not itself an icon.
Inserts strings in the editor.
An overlay icon, which can be displayed on top of other icons.
The persistent Settings instance, stored as an Element to allow custom conversion for backwards compatibility.
Shows a popup for all available Randomness actions.
An editor for a Scheme.
Contains references to various State objects.
Indicates that settings could not be parsed correctly.
An AbstractAction that uses myActionPerformed as the implementation of its actionPerformed method.
Displays notifications when a project is opened.
Interprets the given icon as a mask in which non-empty pixels indicate which pixels should be removed.
A textual representation of a moment in time, with additional support handling invalid user inputs and for the special timestamp NOW. Allowing invalid user inputs to be stored in a Timestamp ensures that com.fwdekker.randomness.ui.JDateTimeField does not reset the input field after an invalid input has been written.
Serializes Timestamps to and from Strings.
Describes a colored icon with some text in it.
Functions
Assuming this is the Element representation of a Settings instance, returns the list of Elements of the contained com.fwdekker.randomness.DecoratorSchemes. Searches recursively, so also returns decorators of decorators, and so on.
Returns all children with attribute name="[name]"
.
Returns the values of all properties with the given name.
Returns the single child with attribute name="[name]"
, or null
if there is not exactly one such child.
Traverses a path of Elements based on their names by monadically either calling getProperty (if the name is not null
) or taking the single child (if the name is null
).
Assuming this is the Element representation of a Settings instance, returns the list of Elements of the contained com.fwdekker.randomness.Schemes.
Assuming this is the Element representation of a Settings instance, returns the Element of the contained com.fwdekker.randomness.template.TemplateList, or null
if no such Element could be found.
Assuming this is the Element representation of a Settings instance, returns the list of Elements of the contained com.fwdekker.randomness.template.Templates.
Turns the first character lowercase while all other characters remain unchanged.
Registers actions such that actions can be selected while holding (combinations of) modifier keys.
Removes the property with attribute name="[name]"
.
Sets the value of the value
attribute of property name, or adds the property if it does not exist.
Turns the first character uppercase while all other characters remain unchanged.