|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Style | |
---|---|
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.lwuit.events | Observable pattern event listeners in the spirit of AWT 1.1's event dispatching architecture, all events are dispatched on the EDT (Event Dispatch Thread). |
com.sun.lwuit.html | The HTML package allows rendering XHTML-MP 1.0 documents including WCSS support. |
com.sun.lwuit.plaf | Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look. |
com.sun.lwuit.util | Utility features that are either too domain specific or don't "fit" into any other packages. |
Uses of Style in com.sun.lwuit |
---|
Methods in com.sun.lwuit that return Style | |
---|---|
Style |
Dialog.getDialogStyle()
Simple getter to get the Dialog Style |
Style |
Component.getDisabledStyle()
Returns the Component Style for the disabled state allowing us to manipulate the look of the component when its disabled |
Style |
MenuBar.getMenuStyle()
Returns the Menu Dialog Style |
Style |
Form.getMenuStyle()
Returns the style of the menu |
Style |
Calendar.getMonthViewSelectedStyle()
Gets the selected style of the month view component within the calendar |
Style |
Calendar.getMonthViewUnSelectedStyle()
Gets the un selected style of the month view component within the calendar |
Style |
Component.getPressedStyle()
Returns the Component Style for the pressed state allowing us to manipulate the look of the component when it is pressed |
Style |
Component.getSelectedStyle()
Returns the Component Style for the selected state allowing us to manipulate the look of the component when it owns focus |
Style |
Slider.getStyle()
|
Style |
Component.getStyle()
Returns the Component Style allowing us to manipulate the look of the component |
Style |
Form.getTitleStyle()
Returns the style of the title |
Style |
Dialog.getTitleStyle()
|
Style |
Component.getUnselectedStyle()
Returns the Component Style for the unselected mode allowing us to manipulate the look of the component |
Methods in com.sun.lwuit with parameters of type Style | |
---|---|
protected void |
Component.deinitializeCustomStyle(Style s)
Allows components to create a style of their own, this method cleans up state for the given style |
protected void |
Component.initCustomStyle(Style s)
Allows components to create a style of their own, this method binds the listener to the style and installs a bg painter |
protected void |
Component.installDefaultPainter(Style s)
Allows subclasses to create their own custom style types and install the background painter into them |
void |
TabbedPane.setContentPaneSelectedStyle(Style style)
Deprecated. Sets the content pane selected style |
void |
TabbedPane.setContentPaneUnselectedStyle(Style unselectedStyle)
Deprecated. Sets the content pane un selected style |
void |
Dialog.setDialogStyle(Style style)
Simple setter to set the Dialog Style |
void |
Component.setDisabledStyle(Style style)
Changes the Component disalbed Style by replacing the Component Style with the given Style |
void |
Calendar.setMonthViewSelectedStyle(Style s)
Sets the selected style of the month view component within the calendar |
void |
Calendar.setMonthViewUnSelectedStyle(Style s)
Sets the un selected style of the month view component within the calendar |
void |
Component.setPressedStyle(Style style)
Sets the Component Style for the pressed state allowing us to manipulate the look of the component when it is pressed |
void |
Component.setSelectedStyle(Style style)
Changes the Component selected Style by replacing the Component Style with the given Style |
void |
TabbedPane.setTabsSelectedStyle(Style style)
Deprecated. Sets the tabs selected style |
void |
TabbedPane.setTabsUnselectedStyle(Style unselectedStyle)
Deprecated. Sets the tabs un selected style |
void |
Form.setTitleStyle(Style s)
Deprecated. this method doesn't take into consideration multiple styles |
void |
MenuBar.setUnselectedStyle(Style style)
|
void |
Component.setUnselectedStyle(Style style)
Changes the Component Style by replacing the Component Style with the given Style |
void |
Component.styleChanged(java.lang.String propertyName,
Style source)
|
Uses of Style in com.sun.lwuit.events |
---|
Methods in com.sun.lwuit.events with parameters of type Style | |
---|---|
void |
StyleListener.styleChanged(java.lang.String propertyName,
Style source)
Invoked to indicate a change in a propertyName of a Style |
Uses of Style in com.sun.lwuit.html |
---|
Methods in com.sun.lwuit.html with parameters of type Style | |
---|---|
void |
HTMLComponent.setPageStyle(Style pageStyle)
Sets the style of the page, allowing for example to set transparency to the main page. |
Uses of Style in com.sun.lwuit.plaf |
---|
Methods in com.sun.lwuit.plaf that return Style | |
---|---|
Style |
UIManager.getComponentCustomStyle(java.lang.String id,
java.lang.String type)
Returns a custom style for the component with the given id, this method always returns a new instance. |
Style |
UIManager.getComponentSelectedStyle(java.lang.String id)
Returns the selected style of the component with the given id or a new instance of the default style. |
Style |
UIManager.getComponentStyle(java.lang.String id)
Returns the style of the component with the given id or a new instance of the default style. |
Methods in com.sun.lwuit.plaf with parameters of type Style | |
---|---|
abstract Component |
LookAndFeel.getTabbedPaneCell(TabbedPane tp,
java.lang.String text,
Image icon,
boolean isSelected,
boolean cellHasFocus,
Style cellStyle,
Style cellSelectedStyle,
Style tabbedPaneStyle,
int cellOffsetX,
int cellOffsetY,
Dimension cellsPreferredSize,
Dimension contentPaneSize)
Deprecated. |
Component |
DefaultLookAndFeel.getTabbedPaneCell(TabbedPane tp,
java.lang.String text,
Image icon,
boolean isSelected,
boolean cellHasFocus,
Style cellStyle,
Style cellSelectedStyle,
Style tabbedPaneStyle,
int cellOffsetX,
int cellOffsetY,
Dimension cellsPreferredSize,
Dimension contentPaneSize)
Deprecated. |
void |
Style.merge(Style style)
Merges the new style with the current style without changing the elements that were modified. |
void |
UIManager.setComponentSelectedStyle(java.lang.String id,
Style style)
Allows a developer to programmatically install a style into the UI manager |
void |
UIManager.setComponentStyle(java.lang.String id,
Style style)
Allows a developer to programmatically install a style into the UI manager |
Constructors in com.sun.lwuit.plaf with parameters of type Style | |
---|---|
Style(Style style)
Creates a full copy of the given style. |
Uses of Style in com.sun.lwuit.util |
---|
Methods in com.sun.lwuit.util with parameters of type Style | |
---|---|
void |
EventDispatcher.fireStyleChangeEvent(java.lang.String property,
Style source)
Fires the style change even to the listeners |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |