| java.lang.Object es.udc.mypersonalizer.portal.view.mainpage.ButtonView
ButtonView | public class ButtonView (Code) | | This bean contains information about one of the buttons of a service in
a user's main page. It contains:
- The state of the button, being an integer.
- The URL to which the button points.
author: Daniel Fernandez since: 1.0 |
Constructor Summary | |
public | ButtonView(int state, String url) Creates a new instance of ButtonView. |
Method Summary | |
public int | getState() Returns the state of the button. | public String | getURL() Returns the URL to which the button points. |
ButtonView | public ButtonView(int state, String url)(Code) | | Creates a new instance of ButtonView.
Parameters: state - The state of the button. Parameters: url - URL for the buttoin. |
getState | public int getState()(Code) | | Returns the state of the button.
an int being the state of the button. |
getURL | public String getURL()(Code) | | Returns the URL to which the button points.
a String with the URL. |
|
|