/** * Copyright 2014-2017 Riccardo Massera (TheCoder4.Eu) and Stephan Rauh (http://www.beyondjava.net). * * This file is part of BootsFaces. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package net.bootsfaces.render; public interface IHasTooltip { /** * The text of the tooltip. * @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getTooltip(); /** * The tooltip is shown and hidden with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay). * @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public int getTooltipDelay(); /** * The tooltip is hidden with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay). * @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public int getTooltipDelayHide(); /** * The tooltip is shown with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay). * @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public int getTooltipDelayShow(); /** * Where is the tooltip to be displayed? Possible values: "top", "bottom", "right", "left", "auto", "auto top", "auto bottom", "auto right" and "auto left". Default to "bottom". * @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getTooltipPosition(); /** * Where is the tooltip div generated? That's primarily a technical value that can be used to fix rendering error in * special cases. Also see data-container in the documentation of Bootstrap. The default value is "body". */ public String getTooltipContainer(); }