FileChooser.fileObj
com.jsmacrosce.jsmacros.client.gui.overlays.FileChooser.fileObj
Mutable pair associating a caller-supplied native Java file reference with a project button. Constructing or changing a pair does not register it with a chooser; changing file also does not change the callback captured by an existing row button.
js
function makeRowRecord(file, button) {
const Row = Java.type('com.jsmacrosce.jsmacros.client.gui.overlays.FileChooser$fileObj');
return new Row(file, button);
}Nested type declared in FileChooser.
Constructors
new FileChooser.fileObj
Stores the supplied references without copying, validating, or registering them.
Parameters:
file: native Java file reference for row lookup and deletion; expected non-null in normal row usebtn: project button reference for row layout and removal; expected non-null in normal row use