Package Components

Class TagContainer


  • public final class TagContainer
    extends java.lang.Object
    Class that is used to display tags of photos
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javafx.scene.layout.HBox CONTAINER  
      private javafx.scene.control.Button DELETE_TAG_BUTTON  
      private javafx.scene.control.Label TAG  
    • Constructor Summary

      Constructors 
      Constructor Description
      TagContainer​(java.lang.String tag)
      Constructor that creates a tag container, containing a label with the tag, a button and the container itself
    • Method Summary

      Modifier and Type Method Description
      javafx.scene.layout.HBox getContainer()  
      (package private) javafx.scene.control.Button getDeleteTagButton()  
      java.lang.String getTagAsString()  
      private void setLayout()
      Sets up the layout of the container
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TAG

        private final javafx.scene.control.Label TAG
      • DELETE_TAG_BUTTON

        private final javafx.scene.control.Button DELETE_TAG_BUTTON
      • CONTAINER

        private final javafx.scene.layout.HBox CONTAINER
    • Constructor Detail

      • TagContainer

        public TagContainer​(java.lang.String tag)
        Constructor that creates a tag container, containing a label with the tag, a button and the container itself
        Parameters:
        tag - is the tag that is in the tag container
    • Method Detail

      • setLayout

        private void setLayout()
        Sets up the layout of the container
      • getDeleteTagButton

        javafx.scene.control.Button getDeleteTagButton()
      • getContainer

        public javafx.scene.layout.HBox getContainer()
      • getTagAsString

        public java.lang.String getTagAsString()