Interface SearchTarget

All Known Implementing Classes:
AboutScreen, AbstractConfigurable, AbstractDeckKeyCommand, AbstractFolder, AbstractScenarioProperty, AbstractScript, AbstractToolbarItem, ActionButton, ActionScript, AreaOfEffect, Attachment, BasicModule, BasicName, BasicPreference, Board, BooleanPreference, BooleanScenarioProperty, BorderOutline, BoxWidget, BrowserPDFFile, BshPlugin, CalculatedProperty, CardSlot, ChangePropertyButton, Chart, ChartWindow, ChessClock, ChessClockControl, Clone, ColorManager, ColorSwatch, Comment, CounterDetailViewer, CounterGlobalKeyCommand, CounterTurnLevel, DeckGlobalKeyCommand, DeckSendKeyCommand, DeckSortKeyCommand, DeckSubFolder, Decorator, Delete, Deselect, DiceButton, DieManager, DoActionButton, Documentation, DoublePreference, DrawPile, DynamicProperty, Embellishment, Embellishment0, EnumPreference, Flare, FontManager, FontStyle, Footprint, FreeRotator, GameModule, GamePieceImage, GamePieceImageDefinitions, GamePieceLayout, GamePieceLayoutsContainer, GeneralScript, GlobalCommandTarget, GlobalHotKey, GlobalKeyCommand, GlobalMap, GlobalMap.CounterViewer, GlobalOptions, GlobalProperties, GlobalProperty, GlobalPropertyFolder, GlobalTranslatableMessage, GlobalTranslatableMessages, HandMetrics, HelpFile, HexGrid, HexGridNumbering, Hideable, HidePiecesButton, HighlightLastMoved, HtmlChart, IconFamily, ImageItem, ImageItemInstance, ImageSaver, Immobilized, IntegerPreference, InternetDiceButton, Inventory, Item, ItemInstance, Labeler, Language, LayerControl, LayeredPieceCollection, ListScenarioProperty, ListTurnLevel, ListWidget, Localization, LOS_Thread, Map, MapShader, MapSubFolder, MapWidget, Marker, MassKeyCommand, Mat, MatCargo, MenuSeparator, ModuleSubFolder, MoveCameraButton, MovementMarkable, MultiActionButton, MultiLocationCommand, NonRectangular, NotesWindow, NumberScenarioProperty, Obscurable, PanelWidget, PieceRecenterer, PieceSlot, PieceWindow, Pivot, PlaceMarker, PlayerHand, PlayerRoster, PlaySound, Plugin, PredefinedSetup, PrivateMap, PropertySheet, PrototypeDefinition, PrototypeFolder, PrototypesContainer, RandomTextButton, Region, RegionGrid, RegularGridNumbering, Replace, ReportState, RestrictCommands, Restricted, ReturnToDeck, ScenarioPropertiesOptionTab, ScriptContainer, SelectionHighlighter, SelectionHighlighters, SendToLocation, SetGlobalProperty, SetPieceProperty, SetupStack, ShapeItem, ShapeItemInstance, SpecialDiceButton, SpecialDie, SpecialDieFace, SquareGrid, SquareGridNumbering, StackMetrics, StartupGlobalKeyCommand, StringPreference, StringScenarioProperty, SubMenu, SymbolItem, SymbolItemInstance, TableInfo, TabWidget, TextBoxItem, TextBoxItemInstance, TextItem, TextItemInstance, TextPreference, TextSaver, ToolbarMenu, TranslatableMarker, TranslatableMessage, Translate, Translation, TriggerAction, TurnComponent, TurnGlobalHotkey, TurnLevel, TurnTracker, Tutorial, UsePrototype, VassalTranslation, Widget, WidgetMap, Zone, ZonedGrid, ZonedGridHighlighter, ZoneHighlight, ZoneProperty, Zoomer

public interface SearchTarget
An interface for "things the editor might search for with its 'Search' function" to ship off convenient packages of searchable strings in various categories. Implemented by things like AbstractConfigurable (for most module components) and Decorator (for piece traits)
  • Method Details

    • getExpressionList

      List<String> getExpressionList()
      Returns:
      a list of the item's string/expression fields if any (for search)
    • getFormattedStringList

      List<String> getFormattedStringList()
      Returns:
      a list of any Message Format strings referenced in the item, if any (for search)
    • getMenuTextList

      List<String> getMenuTextList()
      Returns:
      a list of any Menu/Button/Tooltip Text strings referenced in the item, if any (for search)
    • getNamedKeyStrokeList

      List<NamedKeyStroke> getNamedKeyStrokeList()
      Returns:
      a list of any Named KeyStrokes referenced in the item, if any (for search)
    • getPropertyList

      List<String> getPropertyList()
      Returns:
      a list of any Property Names referenced in the item, if any (for search)