Class CustomParamComponent<T extends com.jbstrap.ui.Component<?>>

java.lang.Object
com.jbstrap.core.messagebus.MessageBus
com.jbstrap.ui.Component<T>
com.jbstrap.jbmap.layers.param.CustomParamComponent<T>
Direct Known Subclasses:
nameParam, titleParam

public class CustomParamComponent<T extends com.jbstrap.ui.Component<?>> extends com.jbstrap.ui.Component<T>
  • Field Summary

    Fields inherited from class com.jbstrap.ui.Component

    animation, attributes, backgroundColor, borderColor, color, defaultHotKeyHandler, handlers, hotKeys, styleClasses, textAlign, toolTip, toolTipPosition
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    CustomParamComponent(String prmName, String prmDefaultValue)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addComponent(com.jbstrap.ui.Component<?> component)
     
    boolean
     

    Methods inherited from class com.jbstrap.ui.Component

    _hide, _setAttribute, addAllowedRole, addComponent, addComponents, addDeniedRole, addHandler, addStyle, addStyleClass, addStyleClasses, afterDraw, b, clearfix, closeTag, combinateAccess, containsStyle, containsStyleClass, draw, drawSubComponents, error, f, flattendComponentTree, g, getAccess, getAccessMode, getAllowedRoles, getAttribute, getAttributes, getBackgroundColor, getBorderColor, getClient, getComponentById, getComponents, getComponents, getComponentsByClass, getData, getDeniedRoles, getHandlers, getId, getLanguageCode, getName, getParent, getParent, getRegisteredEvents, getStyle, getStyleClasses, getTextAlign, getTextColor, getToolTip, getToolTipPosition, getTypeName, getUI, init, insertComponentAfter, insertComponentBefore, isAccess, isDrawn, isEnabled, isEventBubbling, isVisible, onHide, onHotKeyEventHandler, onShow, openTag, redraw, removeAllComponents, removeAllowedRole, removeAllStyleClasses, removeAttribute, removeComponent, removeComponent, removeComponents, removeDeniedRole, removeHandler, removeStyle, removeStyle, removeStyleClass, removeStyleClasses, replaceComponent, replaceStyleClass, runAfterDraw, runJavaScript, runJavaScript, runJavaScript, runOnHide, runOnShow, say, setAttribute, setBackgroundColor, setBorder, setBorderColor, setData, setDisplayType, setEnabled, setEventBubbling, setFlex, setFloating, setHeight100, setHeight25, setHeight50, setHeight75, setHeightAuto, setLanguage, setMargin, setName, setOverflow, setPadding, setParent, setScrollable, setSelectionType, setShadow, setStyle, setTextAlign, setTextColor, setToolTip, setToolTipPosition, setVisible, setWidth100, setWidth25, setWidth50, setWidth75, setWidthAuto, showNotification, showNotification, showProcessIndicator, toggleStyleClass

    Methods inherited from class com.jbstrap.core.messagebus.MessageBus

    b, c, closeMessageBus, d, e, messageBusOpened, openMessageBus, sendMessageToMessageBus, subscribeMessageBus, unsubscribeMessageBus

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomParamComponent

      public CustomParamComponent(String prmName)
      Parameters:
      prmName - The name of the parameter that represents a layer's custom parameter
    • CustomParamComponent

      public CustomParamComponent(String prmName, String prmDefaultValue)
      Parameters:
      prmName - The name of the parameter that represents a layer's custom parameter
      prmDefaultValue - Parameter name representing the layer's default custom parameter value
      Throws:
      NullPointerException - If the prmName param?ter is null
  • Method Details

    • writeHTML

      public boolean writeHTML(StringWriter writer)
      Specified by:
      writeHTML in class com.jbstrap.ui.Component<T extends com.jbstrap.ui.Component<?>>
    • addComponent

      public T addComponent(com.jbstrap.ui.Component<?> component)
      Overrides:
      addComponent in class com.jbstrap.ui.Component<T extends com.jbstrap.ui.Component<?>>