com.japisoft.framework.dockable
Class InnerWindowProperties

java.lang.Object
  |
  +--com.japisoft.framework.dockable.InnerWindowProperties

public class InnerWindowProperties
extends java.lang.Object

This object stores the inner window properties like the title, the id and the view which is the final component. This is used inside the addInnerWindow method from the JDock class

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com
See Also:
JDock

Constructor Summary
InnerWindowProperties(java.lang.String id, java.lang.String title, javax.swing.Icon icon, ActionModel model, javax.swing.JComponent view)
           
InnerWindowProperties(java.lang.String id, java.lang.String title, javax.swing.Icon icon, ActionModel model, javax.swing.JComponent view, boolean autoScroll)
           
InnerWindowProperties(java.lang.String id, java.lang.String title, javax.swing.Icon icon, javax.swing.JComponent view)
           
InnerWindowProperties(java.lang.String id, java.lang.String title, javax.swing.Icon icon, javax.swing.JComponent view, boolean autoScroll)
           
InnerWindowProperties(java.lang.String id, java.lang.String title, javax.swing.JComponent view)
           
 
Method Summary
 ActionModel getActionModel()
           
 javax.swing.Icon getIcon()
           
 java.lang.String getId()
           
 java.lang.String getTitle()
           
 javax.swing.JComponent getView()
           
 boolean isAutoScroll()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InnerWindowProperties

public InnerWindowProperties(java.lang.String id,
                             java.lang.String title,
                             javax.swing.Icon icon,
                             ActionModel model,
                             javax.swing.JComponent view,
                             boolean autoScroll)
Parameters:
id - The inner window id, it cannot be null
title - The inner window title
icon - The inner window icon
model - The inner window actions model for the toolbar
view - The inner window component
autoScroll - The inner window autoScroll management

InnerWindowProperties

public InnerWindowProperties(java.lang.String id,
                             java.lang.String title,
                             javax.swing.Icon icon,
                             ActionModel model,
                             javax.swing.JComponent view)
Parameters:
id - The inner window id, it cannot be null
title - The inner window title
icon - The inner window icon
model - The inner window actions model for the toolbar
view - The inner window component

InnerWindowProperties

public InnerWindowProperties(java.lang.String id,
                             java.lang.String title,
                             javax.swing.Icon icon,
                             javax.swing.JComponent view)
Parameters:
id - The inner window id, it cannot be null
title - The inner window title
icon - The inner window icon
view - The inner window component

InnerWindowProperties

public InnerWindowProperties(java.lang.String id,
                             java.lang.String title,
                             javax.swing.Icon icon,
                             javax.swing.JComponent view,
                             boolean autoScroll)
Parameters:
id - The inner window id, it cannot be null
title - The inner window title
icon - The inner window icon
view - The inner window component
autoScroll - The inner window autoScroll management

InnerWindowProperties

public InnerWindowProperties(java.lang.String id,
                             java.lang.String title,
                             javax.swing.JComponent view)
Parameters:
id - The inner window id, it cannot be null
title - The inner window title
view - The inner window component
Method Detail

getId

public java.lang.String getId()
Returns:
the id for this inner window

getTitle

public java.lang.String getTitle()
Returns:
the title for this inner window

getIcon

public javax.swing.Icon getIcon()
Returns:
the icon for this inner window

getActionModel

public ActionModel getActionModel()
Returns:
the action model for this inner window toolbar

getView

public javax.swing.JComponent getView()
Returns:
the main component for this inner window

isAutoScroll

public boolean isAutoScroll()
Returns:
the autoscroll status. By default false