MCPcopy Create free account

hub / github.com/MTrop/DoomTools / functions

Functions5,241 in github.com/MTrop/DoomTools

↓ 63 callersMethodsetPickupAmmoCategory
(int categoryBits)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:189
↓ 63 callersMethodsetPickupAmmoType
(int typeId)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:187
↓ 63 callersMethodsetPickupBonusCount
(int count)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:195
↓ 63 callersMethodsetPickupItemType
(int itemTypeId)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:193
↓ 63 callersMethodsetPickupSoundPosition
(int soundPosition)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:197
↓ 63 callersMethodsetPickupWeaponType
(int weaponTypeId)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:191
↓ 63 callersMethodsetRespawnDice
(int dice)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:185
↓ 63 callersMethodsetRipSoundPosition
(int ripSoundPosition)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:173
↓ 63 callersMethodsetSplashGroup
(int splashGroup)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:141
↓ 63 callersMethodsetTranslation
(String name)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:201
↓ 62 callersMethodindexOf
Returns a valid index of an element in an array if an object is contained in an array. Sequentially searches for first match via {@link #equals(Object
src/main/java/net/mtrop/doom/tools/struct/util/ArrayUtils.java:139
↓ 62 callersMethodlabel
Creates a new label. @param icon the label icon. @param horizontalAlignment the horizontal alignment for the label. @param label the label. @return a
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:567
↓ 62 callersMethodparseInt
Attempts to parse an int from a string. If the string is null or the empty string, this returns null. @param s the input string. @return the interpret
src/main/java/net/mtrop/doom/tools/struct/util/ValueUtils.java:120
↓ 61 callersMethoderrorf
Outputs a ERROR log message, formatted. A newline is always appended to the end of the message. @param formatString the formatting string to use to re
src/main/java/net/mtrop/doom/tools/struct/LoggingFactory.java:124
↓ 56 callersMethodsaveChar
Saves a character for the next token. @param c the character to save into the current token.
src/main/java/net/mtrop/doom/tools/struct/Lexer.java:1389
↓ 55 callersMethodcheckBox
Creates a check box. @param icon the check box icon. @param label the check box label. @param mnemonic the check box mnemonic. @param checked the chec
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:855
↓ 55 callersMethodsetErrorMessage
Sets the error icon and a message. @param message the message to set.
src/main/java/net/mtrop/doom/tools/gui/swing/panels/DoomToolsStatusPanel.java:100
↓ 55 callersMethodstartsWith
Checks if an array starts with a sequence of data. @param array the array. @param sequence the sequence to test. @return true if so, false if not. @se
src/main/java/net/mtrop/doom/tools/struct/util/ArrayUtils.java:301
↓ 54 callersMethoddimension
Creates a new {@link Dimension}. The intent behind this shallow function is to unify the grammar used to build containers via this factory. @param wid
src/main/java/net/mtrop/doom/tools/struct/swing/ContainerFactory.java:424
↓ 53 callersMethoddir
Creates an entry for a module directory. @param directoryPath the output directory. @return the new entry.
src/main/java/net/mtrop/doom/tools/doommake/ProjectModuleDescriptor.java:69
↓ 53 callersMethodgetKey
()
src/main/java/net/mtrop/doom/tools/struct/util/ObjectUtils.java:327
↓ 52 callersMethodbutton
Creates a button. @param icon the check box icon. @param label the check box label. @param mnemonic the button mnemonic. @param handler the handler fo
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:669
↓ 52 callersMethodsupports
Checks if this supports an operation. @param operation the operation. @return true if so, false if not.
src/main/java/net/mtrop/doom/tools/gui/RepositoryHelper.java:51
↓ 51 callersMethodarrayElement
Gets the element at an index in the array, but returns null if the index is outside of the array bounds. @param <T> the array type. @param array the a
src/main/java/net/mtrop/doom/tools/struct/util/ArrayUtils.java:207
↓ 51 callersMethodreplace
Replaces a series of keys in an input character sequence. <p>Each keyword is wrapped in <code>${}</code> and a map is provided that maps keyword to ob
src/main/java/net/mtrop/doom/tools/struct/util/StringUtils.java:210
↓ 50 callersMethodcheckBoxField
Creates a form field from a check box. @param checkBox the checkbox to encapsulate. @return a new form field that encapsulates a checkbox.
src/main/java/net/mtrop/doom/tools/struct/swing/FormFactory.java:1169
↓ 50 callersMethodpush
Pushes (and writes) an open tag onto the stack. @param tagName the tag name. @return this writer. @see #pop()
src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:915
↓ 47 callersMethodarrayOf
Returns a new (safe) array reference that contains all of the passed-in elements in order. @param <T> the object type in the array. @param items the i
src/main/java/net/mtrop/doom/tools/struct/util/ArrayUtils.java:175
↓ 47 callersMethodcreateActionFromLanguageKey
Creates a menu item from a language key, getting the necessary pieces to assemble it. Name is taken form the action. @param keyPrefix the key prefix.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:335
↓ 47 callersMethodgetLogger
Fetches a logger for a class. @param clazz the class. @return a new logger.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsLogger.java:44
↓ 47 callersMethodmenuItem
Creates a menu item node. @param mnemonic the key mnemonic for the item. @param accelerator the keystroke shortcut for the item. @param action the act
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:2239
↓ 46 callersMethodform
Creates a form panel. @param labelSide the label side. @param labelJustification the label justification. @param labelWidth the label width. @return a
src/main/java/net/mtrop/doom/tools/struct/swing/FormFactory.java:1556
↓ 46 callersMethodgetFile
Gets a specific file in the list. @param index the @return the files, or empty list if no files.
src/main/java/net/mtrop/doom/tools/gui/swing/panels/FileListPanel.java:276
↓ 46 callersMethodopenThenDispose
Opens the dialog, waits for a choice, and then returns it and disposes the modal. @return the value result.
src/main/java/net/mtrop/doom/tools/struct/swing/ModalFactory.java:1399
↓ 46 callersMethodsetText
Sets the value from text. @param text the text to set.
src/main/java/net/mtrop/doom/tools/struct/swing/FormFactory.java:2289
↓ 45 callersMethodclasses
Creates a "class" attribute with a single class. @param value the class value. @return the new attribute.
src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:370
↓ 45 callersMethodmenuBar
Creates a new JMenuBar. @param menus the menus to add. @return a new JMenuBar.
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:2139
↓ 45 callersMethodsetBounds
Sets window bounds. @param window the window to get size from.
src/main/java/net/mtrop/doom/tools/gui/managers/settings/WadTexSettingsManager.java:55
↓ 45 callersMethodsetColor
Sets a value. @param keyName the key name. @param value the value.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:327
↓ 45 callersMethodsetFile
Sets a value. @param keyName the key name. @param value the value.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:295
↓ 45 callersMethodtoString
()
src/main/java/net/mtrop/doom/tools/struct/Lexer.java:2555
↓ 44 callersMethodaddToken
(char[] segmentChars, int start, int end, int tokenType, int documentStartOffset, boolean hyperLink)
src/main/java/net/mtrop/doom/tools/gui/managers/parsing/RookScriptTokenMaker.java:779
↓ 44 callersMethodcreate
Creates a token replacer prompt. @param token the token name to replace in each file. @param prompt the prompt for getting the value. @return the new
src/main/java/net/mtrop/doom/tools/doommake/ProjectTokenReplacer.java:57
↓ 44 callersMethodcurrentLexeme
@return the current token's lexeme, or null if no current token. @see Lexer.Token#getLexeme()
src/main/java/net/mtrop/doom/tools/struct/Lexer.java:2319
↓ 44 callersMethodmodal
Creates a new modal window. Modals hold the thread of execution until it is not visible anymore, if the modality type makes it so. You can get the res
src/main/java/net/mtrop/doom/tools/struct/swing/ModalFactory.java:536
↓ 44 callersMethodopen
Attempts to open a file using the default associated opening program. Returns false if unsuccessful, true otherwise. @param file the file to open. @re
src/main/java/net/mtrop/doom/tools/struct/swing/SwingUtils.java:251
↓ 43 callersMethodaccept
(File f)
src/main/java/net/mtrop/doom/tools/struct/swing/FileChooserFactory.java:730
↓ 43 callersMethodchooseFile
Brings up the file chooser to select a file, but on successful selection, returns the file and sets the last file path used in settings. Initial file
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:565
↓ 43 callersMethodgetContentSourceFile
@return the source file. Can be null.
src/main/java/net/mtrop/doom/tools/gui/swing/panels/EditorMultiFilePanel.java:2196
↓ 42 callersMethodflowLayout
Creates a new FlowLayout with pixel gaps in between each component. @param flow the flow direction. @param hgap the horizontal gap. @param vgap the ve
src/main/java/net/mtrop/doom/tools/struct/swing/LayoutFactory.java:131
↓ 42 callersMethodgetInteger
Gets an integer value using a language key. @param key the language key. @param defaultValue the value to use if the key isn't found. @param modifier
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsLanguageManager.java:139
↓ 42 callersMethodgetName
@return the name.
src/main/java/net/mtrop/doom/tools/doommake/ProjectTemplate.java:84
↓ 41 callersMethodfile
Creates an entry for a blank module file. @param filePath the output file. @return the new entry.
src/main/java/net/mtrop/doom/tools/doommake/ProjectModuleDescriptor.java:79
↓ 41 callersMethodget
@return the singleton instance of this settings object.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsLanguageManager.java:59
↓ 41 callersMethodgetType
()
src/main/java/net/mtrop/doom/tools/decohack/data/DEHActionPointer.java:40
↓ 41 callersMethodparams
Encapsulates a set of parameters. Just for code aesthetics. @param types the parameter types. @return the array of types.
src/main/java/net/mtrop/doom/tools/decohack/data/DEHActionPointer.java:139
↓ 41 callersMethodtext
Reads in all characters from a file and writes them, converting special characters to HTML entities when possible. Assumes native encoding. @param fil
src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:570
↓ 41 callersMethodtoString
@return the cookie string to add to header values.
src/main/java/net/mtrop/doom/tools/struct/util/HTTPUtils.java:2038
↓ 40 callersMethodflush
()
src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:1005
↓ 40 callersMethodprintln
(Object msg)
src/main/java/net/mtrop/doom/tools/WTexListMain.java:93
↓ 40 callersMethodread
()
src/main/java/net/mtrop/doom/tools/struct/util/IOUtils.java:58
↓ 40 callersMethodremove
(int index)
src/main/java/net/mtrop/doom/tools/gui/swing/panels/DirectoryTreePanel.java:1264
↓ 38 callersMethodspawn
Spawns a new asynchronous task from a {@link Runnable}. @param runnable the callable to use. @return the new instance.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsTaskManager.java:53
↓ 37 callersMethodfileField
Creates a new file field with a button to browse for a file. @param initialValue the field's initial value. @param browseText the browse button text.
src/main/java/net/mtrop/doom/tools/struct/swing/FormFactory.java:1039
↓ 37 callersMethodgetBoolean
Gets a value. @param keyName the key name. @param defaultValue the default value if not found. @return the corresponding value, or the default value i
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:274
↓ 37 callersMethodmatchIdentifier
()
src/main/java/net/mtrop/doom/tools/decohack/DecoHackParser.java:6457
↓ 37 callersMethodsetBoolean
Sets a value. @param keyName the key name. @param value the value.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:263
↓ 36 callersMethodaddToken
(char[] segmentChars, int start, int end, int tokenType, int documentStartOffset, boolean hyperLink)
src/main/java/net/mtrop/doom/tools/gui/managers/parsing/DecoHackTokenMaker.java:686
↓ 36 callersMethodcreateForm
Adds a form field to a form, attaching a tool tip, if any. @param formPanel the form panel. @param formFields the list of fields to add. @return the f
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:540
↓ 36 callersMethodget
@return the singleton instance of this object.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:103
↓ 36 callersMethodgetImage
Gets an icon by name. @param name the name of the icon to load. @return the icon.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsIconManager.java:61
↓ 36 callersMethodverbosef
(String seq, Object... args)
src/main/java/net/mtrop/doom/tools/wadmerge/WadMergeContext.java:115
↓ 35 callersMethoddelete
Starts a DELETE request builder. @param url the URL to target. @return an {@link HTTPRequest}. @throws IllegalArgumentException if the URL string is m
src/main/java/net/mtrop/doom/tools/struct/util/HTTPUtils.java:2875
↓ 35 callersMethodparseBoolean
Attempts to parse a boolean from a string. If the string is empty or null, this returns null. If the string does not equal "true" (case ignored), this
src/main/java/net/mtrop/doom/tools/struct/util/ValueUtils.java:56
↓ 34 callersMethodclose
Attempts to close a {@link Closeable} object. If the object is null, this does nothing. @param c the reference to the closeable object.
src/main/java/net/mtrop/doom/tools/struct/util/IOUtils.java:533
↓ 34 callersMethodcreateHelpModal
Creates a help modal, modeless. @param sources the help sources to put in the modal. @return a modal. It starts invisible.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:814
↓ 34 callersMethodyesTo
Displays a confirmation window asking a user a yes or no question. @param message the message to show. @param parent Parent component of this dialog.
src/main/java/net/mtrop/doom/tools/struct/swing/SwingUtils.java:170
↓ 33 callersMethodgetText
Gets text using a text key. @param key the language key. @return the desired text, or a macro if it is not found.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsLanguageManager.java:196
↓ 33 callersMethodmatchMagicNumber
(byte[] data, int offset, byte[] magicNumber)
src/main/java/net/mtrop/doom/tools/doommake/WADExploder.java:1263
↓ 32 callersMethodnextToken
()
src/main/java/net/mtrop/doom/tools/decohack/DecoHackParser.java:344
↓ 32 callersMethodsplit
Creates a split pane. @param orientation the split orientation. @param continuousLayout if true, this renders as the size is adjusted. @param first th
src/main/java/net/mtrop/doom/tools/struct/swing/ContainerFactory.java:604
↓ 31 callersMethodapply
Apply function for objects. @param input the input object to manipulate. @param applier the function to pass the input element to. @param <T> the retu
src/main/java/net/mtrop/doom/tools/struct/util/ObjectUtils.java:42
↓ 31 callersMethodapply
(String label, int index)
src/main/java/net/mtrop/doom/tools/decohack/DecoHackParser.java:7222
↓ 31 callersMethodcanonizeFile
Returns the provided file path into a canonical File path. If a call to {@link File#getCanonicalFile()} fails, it will call {@link File#getAbsoluteFil
src/main/java/net/mtrop/doom/tools/struct/util/FileUtils.java:329
↓ 31 callersMethodcheckIndexRange
(int index, IntervalMap<?> map)
src/main/java/net/mtrop/doom/tools/decohack/contexts/AbstractPatchContext.java:1256
↓ 31 callersMethodhelpResource
Creates a source for help using a path relative to DoomTools's root. @param path the path. @return the help source.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:963
↓ 31 callersMethodset
(T ... items)
src/main/java/net/mtrop/doom/tools/doommake/ProjectGenerator.java:86
↓ 31 callersMethodstart
Starts the task and opens the modal. @param tasks @param onStart called on start. @param onEnd called on end.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:1267
↓ 31 callersMethodtoString
()
src/main/java/net/mtrop/doom/tools/gui/swing/panels/DirectoryTreePanel.java:1329
↓ 30 callersMethodhtml
Reads in all characters from a file and writes them. Assumes native encoding. @param file the file to read. @return this writer.
src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:486
↓ 30 callersMethodset
(int spriteIndex, int frameIndex, boolean bright, int nextStateIndex, int duration)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHState.java:126
↓ 29 callersMethodfileContentAppend
Creates an entry for a module file that appends to existing files. @param filePath the output file. @param lines the lines to add to the file. @return
src/main/java/net/mtrop/doom/tools/doommake/ProjectModuleDescriptor.java:134
↓ 29 callersMethodgetInputStream
@return an open input stream to read from this part. @throws IOException if an I/O error occurs on read.
src/main/java/net/mtrop/doom/tools/struct/util/HTTPUtils.java:1511
↓ 29 callersMethodresult
Attempts to return the result of this instance, making the calling thread wait for its completion. <p>This is for convenience - this is like calling {
src/main/java/net/mtrop/doom/tools/struct/Loader.java:688
↓ 28 callersMethodapply
Applies this function. @param t1 @param t2 @param t3 @return the result.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:1298
↓ 28 callersMethodchoice
Creates a single modal choice that appears as a button in the modal. Choosing one of these choices will close the modal. @param <T> the object return
src/main/java/net/mtrop/doom/tools/struct/swing/ModalFactory.java:1055
↓ 28 callersMethodcreate
Creates a new instance of a class from a class type. This essentially calls {@link Class#getDeclaredConstructor(Class...)} with no arguments and {@lin
src/main/java/net/mtrop/doom/tools/common/Common.java:112
↓ 28 callersMethodgetColor
Gets a value. @param keyName the key name. @param defaultValue the default value if not found. @return the corresponding value, or the default value i
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:348
↓ 28 callersMethodusage
()
src/main/java/net/mtrop/doom/tools/wadmerge/WadMergeCommand.java:32
↓ 27 callersMethoderror
Outputs a ERROR log message. @param message the object to convert to a string to dump.
src/main/java/net/mtrop/doom/tools/struct/LoggingFactory.java:116
← previousnext →101–200 of 5,241, ranked by callers