protected String paramString() { String str; if (linkBehavior == ALWAYS_UNDERLINE) str = "ALWAYS_UNDERLINE"; else if (linkBehavior == HOVER_UNDERLINE) str = "HOVER_UNDERLINE"; else if (linkBehavior == NEVER_UNDERLINE) str = "NEVER_UNDERLINE"; else str = "SYSTEM_DEFAULT"; String colorStr = linkColor == null ? "" : linkColor.toString(); String colorPressStr = colorPressed == null ? "" : colorPressed.toString(); String disabledLinkColorStr = disabledLinkColor == null ? "" : disabledLinkColor.toString(); String visitedLinkColorStr = visitedLinkColor == null ? "" : visitedLinkColor.toString(); String buttonURLStr = buttonURL == null ? "" : buttonURL.toString(); String isLinkVisitedStr = isLinkVisited ? "true" : "false"; return super.paramString() + ",linkBehavior=" + str + ",linkURL=" + buttonURLStr + ",linkColor=" + colorStr + ",activeLinkColor=" + colorPressStr + ",disabledLinkColor=" + disabledLinkColorStr + ",visitedLinkColor=" + visitedLinkColorStr + ",linkvisitedString=" + isLinkVisitedStr; }
public MenuButtonAcqMode(Color color) { this(color, color.toString()); }