Class FactoryListSwing<U,​T extends ConfigEditor<U>>

  • Type Parameters:
    T - The type of editors that edit the items in the list.
    U - The type of items in the list.
    All Implemented Interfaces:
    GuiFactorySwing

    public final class FactoryListSwing<U,​T extends ConfigEditor<U>>
    extends Object
    implements GuiFactorySwing
    Author:
    Hylke van der Schaaf
    • Constructor Detail

      • FactoryListSwing

        public FactoryListSwing​(EditorList<U,​T> parentEditor,
                                boolean vertical)
    • Method Detail

      • setText

        public void setText​(String text)
      • getComponent

        public JComponent getComponent()
        Description copied from interface: GuiFactorySwing
        Get the swing Component that represents the editor.
        Specified by:
        getComponent in interface GuiFactorySwing
        Returns:
        The swing Component that represents the editor.
      • fillComponent

        public void fillComponent()
        Ensure the component represents the current value.