Class MultipleNameVisitor

    • Method Detail

      • visit

        public void visit​(java.util.Collection<? extends OsmPrimitive> data)
        Visits a collection of primitives
        Parameters:
        data - The collection of primitives
      • toLabel

        public javax.swing.JLabel toLabel()
        Description copied from class: NameVisitor
        Returns an horizontal JLabel with icon and name.
        Overrides:
        toLabel in class NameVisitor
        Returns:
        horizontal JLabel with icon and name
      • getText

        public java.lang.String getText()
        Gets the name of the items
        Returns:
        the name of the items
      • getIcon

        public javax.swing.Icon getIcon()
        Gets the icon of the items
        Returns:
        the icon of the items
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object