Class IpamNode


  • public class IpamNode
    extends AbstractNode<Object>
    A node used in the Tree Grid of the IPAM module
    Author:
    Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
    • Field Detail

      • ID_ACTION_BTN_MARK_AS_FAVORITE

        public static String ID_ACTION_BTN_MARK_AS_FAVORITE
      • ID_ACTION_ADD_FOLDER

        public static String ID_ACTION_ADD_FOLDER
      • ID_ACTION_DEL_FOLDER

        public static String ID_ACTION_DEL_FOLDER
      • ID_ACTION_ADD_SUBNET_TO_FOLDER

        public static String ID_ACTION_ADD_SUBNET_TO_FOLDER
      • ID_ACTION_DEL_SUBNET_FROM_FOLDER

        public static String ID_ACTION_DEL_SUBNET_FROM_FOLDER
      • ID_ACTION_BTN_ADD_IP_TO_FOLDER

        public static String ID_ACTION_BTN_ADD_IP_TO_FOLDER
      • ID_ACTION_BTN_DEL_IP_TO_SUBNET

        public static String ID_ACTION_BTN_DEL_IP_TO_SUBNET
      • ID_ACTION_BTN_ADD_SUBNET_IN_SUBNET

        public static String ID_ACTION_BTN_ADD_SUBNET_IN_SUBNET
      • ID_ACTION_BTN_DEL_SUBNET_FROM_SUBNET

        public static String ID_ACTION_BTN_DEL_SUBNET_FROM_SUBNET
      • ID_ACTION_BTN_SPLIT_SUBNET

        public static String ID_ACTION_BTN_SPLIT_SUBNET
      • ID_ACTION_BTN_ADD_IP_TO_SUBNET

        public static String ID_ACTION_BTN_ADD_IP_TO_SUBNET
    • Method Detail

      • isPool

        public boolean isPool()
      • getActionsVisualComponent

        public com.vaadin.flow.component.orderedlayout.HorizontalLayout getActionsVisualComponent()
      • addVisualActions

        public void addVisualActions​(ActionButton... visualActions)
        Creates a layout and add the action buttons created from the UI
        Parameters:
        visualActions - a layout fulfill with buttons
      • enableSubnetsActions

        public void enableSubnetsActions​(boolean enable)
      • enableIpAddressActions

        public void enableIpAddressActions​(boolean enable)
      • getNodeIconLabel

        public com.vaadin.flow.component.Component getNodeIconLabel()
        Returns the node icon label
        Returns:
        an icon and label(includes validators) of the node
      • refresh

        public void refresh​(boolean recursive)
        Description copied from class: AbstractNode
        What to do when commanded to refresh the node.
        Specified by:
        refresh in class AbstractNode<Object>
        Parameters:
        recursive - Refresh the children nodes.