| |
|
| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlFormComponent com.salmonllc.html.HtmlFontChooser
HtmlFontChooser | public class HtmlFontChooser extends HtmlFormComponent (Code) | | Displays a box that allows the user to select the face, style and weight for a font
|
_usePointSize | boolean _usePointSize(Code) | | |
HtmlFontChooser | public HtmlFontChooser(String name, HtmlPage p)(Code) | | Constructor for HtmlColorChooser.
Parameters: name - Parameters: p - |
getStyleAttribute | public static String getStyleAttribute(String style, String attribute)(Code) | | Gets an attribute from a style entry
|
getTagAttribute | public static String getTagAttribute(String tag, String attribute)(Code) | | Specify a font and and attribute and this method will return the value
|
getTheme | public String getTheme()(Code) | | This method returns the property theme for the component.
|
getValueAsFontEndTag | public String getValueAsFontEndTag()(Code) | | Returns the value in the component as the start of a generated font tag
|
getValueAsFontStartTag | public String getValueAsFontStartTag(String color)(Code) | | Returns the value in the component as the start of a generated font tag
|
isUsePointSize | public boolean isUsePointSize()(Code) | | Returns the usePointSize flag. True will mean the size is in points, false means it will be relative.
boolean |
setFont | public void setFont(String font)(Code) | | This method will load the font start and end tags from the page properties object.See the Constants at the top of the class for valid values to pass to this method.
|
setFontEndTag | public void setFontEndTag(String value)(Code) | | This method sets the end font tag for the component.
|
setFontStartTag | public void setFontStartTag(String value)(Code) | | This method sets the start font tag for the component.
|
setFontValue | public void setFontValue(String fontTag)(Code) | | Sets the value of this component from the attributes in a FONT tag
|
setStyleValue | public void setStyleValue(String style)(Code) | | Sets the value of this component from the attributes in a CSS Style
|
setTheme | public void setTheme(String theme)(Code) | | This method sets the property theme for the component.
Parameters: theme - The theme to use. |
setUsePointSize | public void setUsePointSize(boolean usePointSize)(Code) | | Sets the usePointSize flag. True will mean the size is in points, false means it will be relative.
Parameters: usePointSize - The usePointSize to set |
Methods inherited from com.salmonllc.html.HtmlFormComponent | protected void addEvent(ValueChangedEvent e)(Code)(Java Doc) public void addValueChangedListener(ValueChangedListener l)(Code)(Java Doc) protected void convertValue()(Code)(Java Doc) public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc) protected int findEvent(int rowNo)(Code)(Java Doc) protected void generateAutoTabJavaScript(PrintWriter pw)(Code)(Java Doc) abstract public void generateHTML(java.io.PrintWriter p, int row) throws Exception(Code)(Java Doc) public DataStoreBuffer getBoundDataStore()(Code)(Java Doc) public int getColumnNumber()(Code)(Java Doc) protected String getDataStoreValue(int rowNo)(Code)(Java Doc) public String getDisabledFontEndTag()(Code)(Java Doc) public String getDisabledFontStartTag()(Code)(Java Doc) public String getDisplayFormat()(Code)(Java Doc) public String getDisplayFormatLocaleKey()(Code)(Java Doc) public boolean getEnabled()(Code)(Java Doc) protected ValueChangedEvent getEventAt(int index)(Code)(Java Doc) protected int getEventCount()(Code)(Java Doc) public String getJavaScriptName()(Code)(Java Doc) public String getTheme()(Code)(Java Doc) public String getValue()(Code)(Java Doc) public String getValue(int rowNo)(Code)(Java Doc) protected String getValue(int rowNo, boolean remove)(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) protected void processLocaleInfo()(Code)(Java Doc) protected void removeEvent(int index)(Code)(Java Doc) public void removeValueChangedListener(ValueChangedListener l)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void setColumn(DataStoreBuffer ds, int columnNo)(Code)(Java Doc) public void setColumn(DataStoreBuffer ds, String columnName)(Code)(Java Doc) public void setDisabledFontEndTag(String tag)(Code)(Java Doc) public void setDisabledFontStartTag(String tag)(Code)(Java Doc) public void setDisplayFormat(String format)(Code)(Java Doc) public void setDisplayFormatLocaleKey(String formatLocaleKey)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setEnabled(boolean enabled, boolean useDisableAttribute)(Code)(Java Doc) public void setFocus()(Code)(Java Doc) public void setFocus(boolean select)(Code)(Java Doc) public void setFocus(int row, boolean select)(Code)(Java Doc) public void setFocus(int row)(Code)(Java Doc) public void setForceCase(int mode)(Code)(Java Doc) protected boolean setTempValue(String value, int rowNo, int eventNo)(Code)(Java Doc) public void setTheme(String theme)(Code)(Java Doc) public void setValue(String value)(Code)(Java Doc) public void setValue(String value, int rowNo)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void updateLocale()(Code)(Java Doc) protected boolean valuesEqual(Object newValue, Object oldValue)(Code)(Java Doc) protected void writeFocusScript(java.io.PrintWriter p, int row)(Code)(Java Doc)
|
|
|
|