001package com.fs.starfarer.api.ui; 002 003import java.util.Collection; 004import java.util.Set; 005 006import java.awt.Color; 007 008public interface TagDisplayAPI { 009 void reset(); 010 void beginGroup(boolean mutuallyExclusive, String allText); 011 void beginGroup(boolean mutuallyExclusive, String allText, float fixedWidth); 012 Set<String> getAllTags(); 013 void addTag(String tag); 014 void addTag(String tag, int count); 015 void addTag(String tag, String name, int count); 016 void addTag(String tag, String name, int count, float fixedWidth); 017 void addTag(String tag, String name, int count, float fixedWidth, Color color, Color bright, Color dark); 018 void addLineBreakToCurrentGroup(float pad); 019 void addGroup(float pad); 020 float getTagPad(); 021 void setTagPad(float tagPad); 022 float getMinTagWidth(); 023 void setMinTagWidth(float minTagWidth); 024 void setGroupChecked(int index, boolean checked); 025 void setTotalOverrideForCurrentGroup(int totalOverrideForCurrentGroup); 026 void check(Collection<String> tags); 027 void check(String... tags); 028 void uncheck(String... tags); 029 void checkAll(); 030 void uncheckAll(); 031}