Class WLink.WindowAttributes
- java.lang.Object
-
- com.github.bordertech.wcomponents.WLink.WindowAttributes
-
- All Implemented Interfaces:
Serializable
,Cloneable
- Enclosing class:
- WLink
public static final class WLink.WindowAttributes extends Object implements Serializable, Cloneable
Encapsulates window attributes for new windows which are opened.- Author:
- Yiannis Paschalidis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WindowAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WLink.WindowAttributes
clone()
int
getHeight()
int
getLeft()
int
getTop()
int
getWidth()
String
getWindowName()
boolean
isDirectories()
boolean
isLocation()
boolean
isMenubar()
boolean
isResizable()
boolean
isScrollbars()
boolean
isStatus()
boolean
isToolbars()
void
setDirectories(boolean directories)
void
setHeight(int height)
void
setLeft(int left)
void
setLocation(boolean location)
void
setMenubar(boolean menubar)
void
setResizable(boolean resizable)
void
setScrollbars(boolean scrollbars)
void
setStatus(boolean status)
void
setToolbars(boolean toolbars)
void
setTop(int top)
void
setWidth(int width)
void
setWindowName(String windowName)
-
-
-
Method Detail
-
getWindowName
public String getWindowName()
- Returns:
- Returns the windowName.
-
setWindowName
public void setWindowName(String windowName)
- Parameters:
windowName
- The windowName to set.
-
isResizable
public boolean isResizable()
- Returns:
- Returns the resizable.
-
setResizable
public void setResizable(boolean resizable)
- Parameters:
resizable
- The resizable to set.
-
isScrollbars
public boolean isScrollbars()
- Returns:
- Returns the scrollbars.
-
setScrollbars
public void setScrollbars(boolean scrollbars)
- Parameters:
scrollbars
- The scrollbars to set.
-
isToolbars
public boolean isToolbars()
- Returns:
- Returns the toolbars.
-
setToolbars
public void setToolbars(boolean toolbars)
- Parameters:
toolbars
- The toolbars to set.
-
isLocation
public boolean isLocation()
- Returns:
- Returns the location.
-
setLocation
public void setLocation(boolean location)
- Parameters:
location
- The location to set.
-
isDirectories
public boolean isDirectories()
- Returns:
- Returns the directories.
-
setDirectories
public void setDirectories(boolean directories)
- Parameters:
directories
- The directories to set.
-
isStatus
public boolean isStatus()
- Returns:
- Returns the status.
-
setStatus
public void setStatus(boolean status)
- Parameters:
status
- The status to set.
-
isMenubar
public boolean isMenubar()
- Returns:
- Returns the menubar.
-
setMenubar
public void setMenubar(boolean menubar)
- Parameters:
menubar
- The menubar to set.
-
getLeft
public int getLeft()
- Returns:
- Returns the left.
-
setLeft
public void setLeft(int left)
- Parameters:
left
- The left to set.
-
getTop
public int getTop()
- Returns:
- Returns the top.
-
setTop
public void setTop(int top)
- Parameters:
top
- The top to set.
-
getWidth
public int getWidth()
- Returns:
- Returns the width.
-
setWidth
public void setWidth(int width)
- Parameters:
width
- The width to set.
-
getHeight
public int getHeight()
- Returns:
- Returns the height.
-
setHeight
public void setHeight(int height)
- Parameters:
height
- The height to set.
-
clone
public WLink.WindowAttributes clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-