MCPcopy Create free account

hub / github.com/MTrop/DoomTools / functions

Functions5,241 in github.com/MTrop/DoomTools

↓ 27 callersMethodgetThing
Gets a thing by a thing index. @param index the index. @return the corresponding thing, or null if bad or unsupported index. @see #getThingCount()
src/main/java/net/mtrop/doom/tools/decohack/patches/DEHPatch.java:93
↓ 27 callersMethodinfo
Outputs a INFO log message. @param message the object to convert to a string to dump.
src/main/java/net/mtrop/doom/tools/struct/LoggingFactory.java:160
↓ 27 callersMethodinfof
Outputs a INFO log message, formatted. A newline is always appended to the end of the message. @param formatString the formatting string to use to ren
src/main/java/net/mtrop/doom/tools/struct/LoggingFactory.java:168
↓ 27 callersMethodisError
@return true if and only if the response status code is between 400 and 599, inclusive, false otherwise.
src/main/java/net/mtrop/doom/tools/struct/util/HTTPUtils.java:2510
↓ 27 callersMethodrelay
Reads from an input stream, reading in a consistent set of data and writing it to the output stream. The read/write is buffered so that it does not bo
src/main/java/net/mtrop/doom/tools/struct/util/IOUtils.java:335
↓ 27 callersMethodsetVisible
(boolean b)
src/main/java/net/mtrop/doom/tools/struct/swing/ModalFactory.java:1357
↓ 26 callersMethodcreateIn
Creates this module in a target directory. @param entries the list of module entries. @param directory the directory. @param replacerMap the parameter
src/main/java/net/mtrop/doom/tools/doommake/ProjectModuleDescriptor.java:156
↓ 26 callersMethodgetLastTouchedFile
@return the last file opened or saved.
src/main/java/net/mtrop/doom/tools/gui/managers/settings/WadTexSettingsManager.java:91
↓ 26 callersMethodinvoke
Convenience for {@link SwingUtilities#invokeLater(Runnable)}, so it is only one import. @param runnable the runnable to call later in the Swing event
src/main/java/net/mtrop/doom/tools/struct/swing/SwingUtils.java:107
↓ 26 callersMethodmodule
Creates a new project module. @param sort the sort value. @return a new module.
src/main/java/net/mtrop/doom/tools/doommake/ProjectModule.java:53
↓ 26 callersMethodopenResource
Opens an {@link InputStream} to a resource using the current thread's {@link ClassLoader}. @param pathString the resource pathname. @return an open {@
src/main/java/net/mtrop/doom/tools/struct/util/IOUtils.java:169
↓ 26 callersMethodscroll
Creates a scrolling pane. @param verticalPolicy the vertical scroll policy. @param horizontalPolicy the horizontal scroll policy. @param component the
src/main/java/net/mtrop/doom/tools/struct/swing/ContainerFactory.java:655
↓ 26 callersMethodstartApplication
(DoomToolsApplicationInstance applicationInstance)
src/main/java/net/mtrop/doom/tools/gui/DoomToolsGUIMain.java:224
↓ 25 callersMethodaddField
Adds a field to this form panel with no label. @param <V> the field value type. @param field the field to set for the form. @return this panel.
src/main/java/net/mtrop/doom/tools/struct/swing/FormFactory.java:1696
↓ 25 callersMethodbase
(ProjectModuleDescriptor descriptor)
src/main/java/net/mtrop/doom/tools/doommake/ProjectModule.java:58
↓ 24 callersMethodgetFileNameWithoutExtension
Returns the file's name, no extension. @param file the file. @param extensionSeparator the text or characters that separates file name from extension.
src/main/java/net/mtrop/doom/tools/struct/util/FileUtils.java:344
↓ 24 callersMethodgetVersionString
Gets the embedded version string for a tool name. If there is no embedded version, this returns "SNAPSHOT". @param name the name of the tool. @return
src/main/java/net/mtrop/doom/tools/common/Common.java:47
↓ 24 callersMethodgetWindowIcons
@return the common window icons to use.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:992
↓ 24 callersMethodstringField
Creates a new text field that stores a string type. Empty strings are considered null if this field is nullable. Nulls are converted to empty string.
src/main/java/net/mtrop/doom/tools/struct/swing/FormFactory.java:215
↓ 23 callersMethodaddApplication
Adds a new application instance to the desktop. @param <A> the instance type. @param applicationClass the application class. @throws RuntimeException
src/main/java/net/mtrop/doom/tools/gui/swing/DoomToolsMainWindow.java:179
↓ 23 callersMethodargs
Adds a series of command line arguments. Command line arguments are sent in the order added. @param args the command arguments to add. @return this, f
src/main/java/net/mtrop/doom/tools/struct/ProcessCallable.java:298
↓ 23 callersMethodattemptClose
Attempts to close this application instance.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsApplicationListener.java:20
↓ 23 callersMethodcreateButtonFromLanguageKey
Creates a button from a language key, getting the necessary pieces to assemble it. @param icon the button icon. @param keyPrefix the key prefix. @para
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsGUIUtils.java:365
↓ 23 callersMethodgetArgument
Returns the string argument of a certain index. @param index the index. @return the corresponding string, or empty string if not valid.
src/main/java/net/mtrop/doom/tools/struct/ArgumentScanner.java:30
↓ 23 callersMethodgetOrDefault
Fetches a value at an interval index, returning a default value if the value is null. @param index the index. @param ifNull if <code>get(index)</code>
src/main/java/net/mtrop/doom/tools/struct/IntervalMap.java:334
↓ 23 callersMethodgetString
Gets a string by its macro key. @param key the key. @return the corresponding string, or null if not a valid string.
src/main/java/net/mtrop/doom/tools/decohack/patches/DEHPatchBoom.java:85
↓ 23 callersMethodisDigit
Convenience method for {@link Character#isDigit(char)}. @param c the character to test. @return true if so, false if not.
src/main/java/net/mtrop/doom/tools/struct/Lexer.java:1465
↓ 23 callersMethodmatchInteger
()
src/main/java/net/mtrop/doom/tools/decohack/DecoHackParser.java:7043
↓ 23 callersMethodstartGUIAppProcess
Starts an orphaned main GUI Application. Inherits the working directory and environment. @return the process created. @throws IOException if the appli
src/main/java/net/mtrop/doom/tools/gui/DoomToolsGUIMain.java:247
↓ 23 callersMethodtodos
(String... todos)
src/main/java/net/mtrop/doom/tools/doommake/ProjectModule.java:94
↓ 23 callersMethodupdate
(Graphics g)
src/main/java/net/mtrop/doom/tools/gui/swing/panels/PatchDisplayCanvas.java:182
↓ 22 callersMethodcreateResolver
@return a function resolver that handles all of the functions in this enum.
src/main/java/net/mtrop/doom/tools/wadscript/WadFunctions.java:1395
↓ 22 callersMethodindexOf
Gets the index of a specific file in the list. @param file the file to search for. @return the index, or -1 if not found.
src/main/java/net/mtrop/doom/tools/gui/swing/panels/FileListPanel.java:357
↓ 21 callersMethodaddDelimiter
Adds a delimiter to this lexer. @param delimiter the delimiter lexeme. @param type the type id. @throws IllegalArgumentException if type is &lt; 0
src/main/java/net/mtrop/doom/tools/struct/Lexer.java:2031
↓ 21 callersMethodcomboBox
Creates a combo box (dropdown) with an attached listener. @param <E> the item type. @param model the spinner model. @param handler the item change han
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:1780
↓ 21 callersMethodgetConfigFile
Fetches a file relative to the settings path. NOTE: The file/dir may not actually exist! @param path the desired path. @return a File representing tha
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:150
↓ 21 callersMethodgetImageAsync
Gets an image by name. @param name the name of the icon to load. @return a future to get the icon from.
src/main/java/net/mtrop/doom/tools/gui/managers/DoomToolsIconManager.java:71
↓ 20 callersMethodaddDefineCompletions
Adds define completions from parsing a resource. @param type the patch type. @param category the category. @param resourcePath the resource path. @par
src/main/java/net/mtrop/doom/tools/gui/managers/parsing/DecoHackCompletionProvider.java:440
↓ 20 callersMethodgetEditorTabName
@return the editor tab name.
src/main/java/net/mtrop/doom/tools/gui/swing/panels/EditorMultiFilePanel.java:2188
↓ 20 callersMethodgetKey
()
src/main/java/net/mtrop/doom/tools/decohack/contexts/AbstractPatchContext.java:1438
↓ 20 callersMethodgetSourcePatch
Gets the original source patch state (for restoration or reference). <p><b>DO NOT ALTER THE CONTENTS OF THIS PATCH. THIS IS A REFERENCE STATE.</b> @re
src/main/java/net/mtrop/doom/tools/decohack/contexts/AbstractPatchContext.java:179
↓ 20 callersMethodgridLayout
Creates a new GridLayout with pixel gaps in between each cell. @param rows the maximum rows. @param cols the maximum columns. @param hgap the horizont
src/main/java/net/mtrop/doom/tools/struct/swing/LayoutFactory.java:106
↓ 20 callersMethodresolve
(AbstractPatchContext<?> context)
src/main/java/net/mtrop/doom/tools/decohack/DecoHackParser.java:7655
↓ 20 callersMethodsetActivityMessage
Sets the activity icon and a message. @param message the message to set.
src/main/java/net/mtrop/doom/tools/gui/swing/panels/DoomToolsStatusPanel.java:88
↓ 19 callersMethodclear
Clears all cached objects and errors.
src/main/java/net/mtrop/doom/tools/struct/Loader.java:416
↓ 19 callersMethodgetBounds
Gets window bounds. @return the bounds.
src/main/java/net/mtrop/doom/tools/gui/managers/settings/WadTexSettingsManager.java:65
↓ 19 callersMethodgetBoundsMaximized
@return if the main DoomTools window should be maximized.
src/main/java/net/mtrop/doom/tools/gui/managers/settings/WadTexSettingsManager.java:73
↓ 19 callersMethodgetFrameBounds
Gets window bounds. @param keyName an associated key. @return the bounds.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:499
↓ 19 callersMethodgetFrameMaximized
@param keyName an associated key. @return if the main DoomTools window should be maximized.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:513
↓ 19 callersMethodisWindows
@return true if we using Windows.
src/main/java/net/mtrop/doom/tools/struct/util/OSUtils.java:228
↓ 19 callersMethodradioField
Creates a form field from a check box. @param radio the radio button to encapsulate. @return a new form field that encapsulates a radio button.
src/main/java/net/mtrop/doom/tools/struct/swing/FormFactory.java:1207
↓ 19 callersMethodsetFrameBounds
Sets window bounds. @param keyName an associated key. @param window the window to get size from.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:464
↓ 19 callersMethodsetHeader
Sets a header. @param header the header name. @param value the header value. @return this, for chaining.
src/main/java/net/mtrop/doom/tools/struct/util/HTTPUtils.java:2090
↓ 18 callersMethodcomboBoxModel
Creates a combo box model. @param <E> the object type that the model contains. @param objects the objects to put in the list model. @param listener th
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:1750
↓ 18 callersMethodcreatePatch
Adds a patch to this texture canvas. @param patch the patch. @param p the patch picture. @return a reference to the created patch.
src/main/java/net/mtrop/doom/tools/gui/apps/WadTexTextureEditorApp.java:1712
↓ 18 callersMethodgetSize
()
src/main/java/net/mtrop/doom/tools/gui/swing/panels/FileListPanel.java:618
↓ 18 callersMethodgetWeapon
Gets a weapon by a weapon index. @param index the index. @return the corresponding weapon, or null if bad or unsupported index. @see #getWeaponCount()
src/main/java/net/mtrop/doom/tools/decohack/patches/DEHPatch.java:106
↓ 18 callersMethodkeyValue
Creates a simple key-value entry. @param <K> the key type. @param <V> the value type. @param key the key. @param value the value. @return a new entry.
src/main/java/net/mtrop/doom/tools/struct/util/ObjectUtils.java:311
↓ 18 callersMethodopenTextStream
Convenience method for <code>new BufferedReader(new InputStreamReader(in, Charset.defaultCharset()))</code> @param in the stream to read. @return an o
src/main/java/net/mtrop/doom/tools/struct/util/IOUtils.java:78
↓ 18 callersMethodsetCustomPropertyValue
(DEHProperty property, String value)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThingTarget.java:93
↓ 18 callersMethodsetOut
Redirects standard out to another destination. @param newOut the new output stream to redirect STDOUT to. Null is acceptable. @return this, for chaini
src/main/java/net/mtrop/doom/tools/struct/ProcessCallable.java:349
↓ 18 callersMethodsetWorkingDirectory
(File workingDirectory)
src/main/java/net/mtrop/doom/tools/gui/apps/data/MergeSettings.java:34
↓ 17 callersMethodaddToken
(char[] segmentChars, int start, int end, int tokenType, int documentStartOffset, boolean hyperLink)
src/main/java/net/mtrop/doom/tools/gui/managers/parsing/WadMergeTokenMaker.java:337
↓ 17 callersMethodcreateCaseInsensitiveNameMap
Turns a set of enums into a map of case-insensitive-resolving Strings to enum value. The Strings used are the enum's {@link Enum#name()}. @param <E> a
src/main/java/net/mtrop/doom/tools/struct/util/EnumUtils.java:159
↓ 17 callersMethodgetStateCount
@return the amount of states in the patch.
src/main/java/net/mtrop/doom/tools/decohack/patches/DEHPatch.java:111
↓ 17 callersMethodinfo
Show an info window. @param message The message to show. @param parent Parent component of this dialog.
src/main/java/net/mtrop/doom/tools/struct/swing/SwingUtils.java:156
↓ 17 callersMethodinstance
Creates a new instance builder. @param runnable the runnable to execute. @return a new instance builder.
src/main/java/net/mtrop/doom/tools/struct/InstancedFuture.java:197
↓ 17 callersMethodisStreamEnd
Checks if a char equals {@link #END_OF_STREAM}. @param c the character input. @return true if so, false if not.
src/main/java/net/mtrop/doom/tools/struct/Lexer.java:1607
↓ 17 callersMethodnewEditor
Creates a new editor tab with a name. @param tabName the name of the tab. @param content the initial content of the new editor.
src/main/java/net/mtrop/doom/tools/gui/swing/panels/EditorMultiFilePanel.java:562
↓ 17 callersMethodnext
()
src/main/java/net/mtrop/doom/tools/struct/TokenScanner.java:184
↓ 17 callersMethodparseStateIndex
(AbstractPatchContext<?> context)
src/main/java/net/mtrop/doom/tools/decohack/DecoHackParser.java:5214
↓ 17 callersMethodpeek
Gets the reference to the topmost (current) stream. @return the topmost stream.
src/main/java/net/mtrop/doom/tools/struct/Lexer.java:1712
↓ 17 callersMethodsetActionsEnabled
(boolean enabled)
src/main/java/net/mtrop/doom/tools/gui/swing/panels/MercurialRepositoryPanel.java:353
↓ 17 callersMethodsetActionsEnabled
(boolean enabled)
src/main/java/net/mtrop/doom/tools/gui/swing/panels/GitRepositoryPanel.java:353
↓ 17 callersMethodsetInteger
Sets a value. @param keyName the key name. @param value the value.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsSettings.java:231
↓ 17 callersMethodsetLAF
Sets the preferred Look And Feel.
src/main/java/net/mtrop/doom/tools/gui/DoomToolsGUIMain.java:336
↓ 17 callersMethodtemplate
Creates a new template. @param name the name of the template. @param category the template category. @param description the description. @param module
src/main/java/net/mtrop/doom/tools/doommake/ProjectTemplate.java:37
↓ 17 callersMethodverboseln
(String message)
src/main/java/net/mtrop/doom/tools/DoomImageConvertMain.java:224
↓ 16 callersMethoddispose
()
src/main/java/net/mtrop/doom/tools/struct/swing/ImageUtils.java:565
↓ 16 callersMethoddoCall
(ProcessCallable callable, String type)
src/main/java/net/mtrop/doom/tools/gui/RepositoryHelper.java:1142
↓ 16 callersMethodfreeConnectedStates
Searches through the states and flags them as "free" until it hits a "protected" or "free" state. The state traversal is through the "next state" indi
src/main/java/net/mtrop/doom/tools/decohack/contexts/AbstractPatchContext.java:598
↓ 16 callersMethodgetMnemonic
()
src/main/java/net/mtrop/doom/tools/decohack/data/DEHActionPointer.java:58
↓ 16 callersMethodhasNext
()
src/main/java/net/mtrop/doom/tools/wadscript/WadFunctions.java:1584
↓ 16 callersMethodisStringEmpty
(Object obj)
src/main/java/net/mtrop/doom/tools/struct/util/ValueUtils.java:591
↓ 16 callersMethodpopFile
Pops a variable off the stack and, using a temp variable, extracts a File/String. @param scriptInstance the script instance. @param temp the temporary
src/main/java/net/mtrop/doom/tools/doommake/functions/DoomMakeFunctions.java:1191
↓ 16 callersMethodsetErr
Redirects standard error to another destination. @param newErr the new output stream to redirect STDERR to. Null is acceptable. @return this, for chai
src/main/java/net/mtrop/doom/tools/struct/ProcessCallable.java:486
↓ 16 callersMethodspawnJava
Creates a Java process callable using some common Java options. @param mainClass the class. @return the new process callable.
src/main/java/net/mtrop/doom/tools/common/Common.java:167
↓ 16 callersMethodstart
()
src/main/java/net/mtrop/doom/tools/gui/RepositoryHelper.java:1068
↓ 16 callersMethodtoString
()
src/main/java/net/mtrop/doom/tools/decohack/DecoHackParser.java:7625
↓ 15 callersMethodaddTemplateName
(String templateToAdd)
src/main/java/net/mtrop/doom/tools/gui/apps/DoomMakeNewProjectApp.java:363
↓ 15 callersMethoddoCall
(ProcessCallable callable, String type)
src/main/java/net/mtrop/doom/tools/gui/RepositoryHelper.java:654
↓ 15 callersMethodgetArgs
()
src/main/java/net/mtrop/doom/tools/gui/apps/data/MergeSettings.java:59
↓ 15 callersMethodgetDoomToolsPath
Gets the path that DoomTools is running from. If null, this variable may not have been set - you are running from an IDE. @return the corresponding va
src/main/java/net/mtrop/doom/tools/Environment.java:62
↓ 15 callersMethodgetEditorKey
(String key)
src/main/java/net/mtrop/doom/tools/decohack/data/DEHThing.java:287
↓ 15 callersMethodnextInt
Scans for the next token and interprets it as an integer. @param radix the numerical base/radix for the expected number. @return the next integer valu
src/main/java/net/mtrop/doom/tools/struct/TokenScanner.java:448
↓ 15 callersMethodnoTo
Displays a confirmation window asking a user a yes or no question. This is a convenience method for code readability, and is completely equivalent to
src/main/java/net/mtrop/doom/tools/struct/swing/SwingUtils.java:190
↓ 15 callersMethodradio
Creates a radio button. @param icon the radio button icon. @param label the radio button label. @param mnemonic the check box mnemonic. @param checked
src/main/java/net/mtrop/doom/tools/struct/swing/ComponentFactory.java:1045
↓ 15 callersMethodsanitizeEntryName
(String input)
src/main/java/net/mtrop/doom/tools/doommake/WADExploder.java:1184
↓ 15 callersMethodstart
()
src/main/java/net/mtrop/doom/tools/gui/RepositoryHelper.java:575
↓ 14 callersMethodaddToken
(char[] segmentChars, int start, int end, int tokenType, int documentStartOffset, boolean hyperLink)
src/main/java/net/mtrop/doom/tools/gui/managers/parsing/DEUTEXTokenMaker.java:228
← previousnext →201–300 of 5,241, ranked by callers