Class org.jfouffa.jslider.HeaderController
java.lang.Object
|
+----org.jfouffa.jslider.HeaderController
- public class HeaderController
- extends Object
This class controls headers and the edition part.
- See Also:
- Header
Constructor index
-
HeaderController(Frame)
- Constructs a new HeaderController for the specified Frame.
Method index
-
edit(int)
- Edits the Header at the specified index.
-
getHeader(int)
- Returns the Header at the specified index or null if any.
-
getHeaderIndex(Header)
- Returns the index of the specified Header or -1 if the specified Header
has no real position.
-
getHeaderList()
- Gets the list of headers available in the HeaderFactory property file.
-
setHeader(int, String)
- Sets a header at the specified index with the specified name.
Constructors
HeaderController
public HeaderController(Frame frame)
- Constructs a new HeaderController for the specified Frame.
- Parameters:
- frame - the frame
Methods
setHeader
public void setHeader(int index,
String name)
- Sets a header at the specified index with the specified name.
- Parameters:
- index - the index of the new header
- name - the header's name
edit
public void edit(int index)
- Edits the Header at the specified index.
getHeader
public Header getHeader(int index)
- Returns the Header at the specified index or null if any.
- Parameters:
- index - the index
getHeaderIndex
public int getHeaderIndex(Header header)
- Returns the index of the specified Header or -1 if the specified Header
has no real position.
- Parameters:
- header - the header to find
getHeaderList
public String[] getHeaderList()
- Gets the list of headers available in the HeaderFactory property file.