Class DivIpAddr

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.html.Div>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasText, Serializable

    public class DivIpAddr
    extends com.vaadin.flow.component.html.Div
    A graphical square used to contains numbers used in IPAM to show al the numbers of the last segment, design to be used also with evlans/cvlans
    Author:
    Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getClassName()  
      String getIpAddr()  
      String getIpAddrId()  
      String getMask()  
      String getNetworkIpAddr()  
      String getOldState()  
      String getState()  
      String getSubnetId()  
      String getSubnetSegment()  
      void setIpAddr​(String ipAddr)  
      void setIpAddrId​(String ipAddrId)  
      void setNetworkIpAddr​(String networkIpAddr)  
      void setOldState​(String oldState)  
      void setState​(String state)
      Removes the old state from the div amd sets the new one
      void setSubnetId​(String subnetId)  
      • Methods inherited from class com.vaadin.flow.component.HtmlComponent

        getTitle, setTitle
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.ClickNotifier

        addClickListener, addClickShortcut
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasComponents

        add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasText

        getText, setText
    • Constructor Detail

      • DivIpAddr

        public DivIpAddr​(SubnetDetail subnetDetail,
                         String ipAddrId,
                         String ipAddr,
                         String state)
        Tags related to the ip address to be shown
    • Method Detail

      • getSubnetId

        public String getSubnetId()
      • setSubnetId

        public void setSubnetId​(String subnetId)
      • getNetworkIpAddr

        public String getNetworkIpAddr()
      • setNetworkIpAddr

        public void setNetworkIpAddr​(String networkIpAddr)
      • getIpAddrId

        public String getIpAddrId()
      • setIpAddrId

        public void setIpAddrId​(String ipAddrId)
      • getIpAddr

        public String getIpAddr()
      • setIpAddr

        public void setIpAddr​(String ipAddr)
      • getState

        public String getState()
      • getOldState

        public String getOldState()
      • setOldState

        public void setOldState​(String oldState)
      • getSubnetSegment

        public String getSubnetSegment()
      • getMask

        public String getMask()
      • getClassName

        public String getClassName()
      • setState

        public void setState​(String state)
        Removes the old state from the div amd sets the new one
        Parameters:
        state - the style for the div