/** * Only stations passing this test are considered during drag and drop operation as new parent. Subclasses * may override this method. * @param station the station to check * @return <code>true</code> if <code>station</code> should be considered as new parent */ @ClientOnly protected boolean isStationValid( DockStation station ){ return true; }
/** * Only stations passing this test are considered during drag and drop operation as new parent. Subclasses * may override this method. * @param station the station to check * @return <code>true</code> if <code>station</code> should be considered as new parent */ @ClientOnly protected boolean isStationValid( DockStation station ){ return true; }
/** * A {@link DockThemeModifier} modifies a {@link DockTheme}. This can either * mean replacing some values, or using another theme at all. * @author Benjamin Sigg */ @ClientOnly public interface DockThemeModifier { /** * Modifies <code>theme</code> and returns either the modified theme or * a new instance of of another {@link DockTheme}. * @param theme the theme to modify, not <code>null</code> * @return the modified them, <code>theme</code> or a new object */ public DockTheme modify( DockTheme theme ); }
/** * A {@link DockThemeModifier} modifies a {@link DockTheme}. This can either * mean replacing some values, or using another theme at all. * @author Benjamin Sigg */ @ClientOnly public interface DockThemeModifier { /** * Modifies <code>theme</code> and returns either the modified theme or * a new instance of of another {@link DockTheme}. * @param theme the theme to modify, not <code>null</code> * @return the modified them, <code>theme</code> or a new object */ public DockTheme modify( DockTheme theme ); }
/** * An implementation of {@link RenameAction} that can handle * {@link DefaultDockable DefaultDockables}. * @author Benjamin Sigg */ @ClientOnly public static class RenameDefaultDockable extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameDefaultDockable( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((DefaultDockable)dock).setTitleText( text ); } } }
/** * An implementation of {@link RenameAction} that can handle * {@link SplitDockStation SplitDockStations}. * @author Benjamin Sigg */ @ClientOnly public static class RenameSplitDockStation extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameSplitDockStation( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((SplitDockStation)dock).setTitleText( text ); } }
/** * An implementation of {@link RenameAction} that can handle * {@link StackDockStation StackDockStations}. * @author Benjamin Sigg */ @ClientOnly public static class RenameStackDockStation extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameStackDockStation( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((StackDockStation)dock).setTitleText( text ); } }
/** * An implementation of {@link RenameAction} that can handle * {@link SplitDockStation SplitDockStations}. * @author Benjamin Sigg */ @ClientOnly public static class RenameSplitDockStation extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameSplitDockStation( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((SplitDockStation)dock).setTitleText( text ); } }
/** * An implementation of {@link RenameAction} that can handle * {@link StackDockStation StackDockStations}. * @author Benjamin Sigg */ @ClientOnly public static class RenameStackDockStation extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameStackDockStation( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((StackDockStation)dock).setTitleText( text ); } }
/** * An implementation of {@link RenameAction} that can handle * {@link FlapDockStation FlapDockStations}. * @author Benjamin Sigg */ @ClientOnly public static class RenameFlapDockStation extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameFlapDockStation( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((FlapDockStation)dock).setTitleText( text ); } }
/** * An implementation of {@link RenameAction} that can handle * {@link FlapDockStation FlapDockStations}. * @author Benjamin Sigg */ @ClientOnly public static class RenameFlapDockStation extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameFlapDockStation( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((FlapDockStation)dock).setTitleText( text ); } }
/** * An implementation of {@link RenameAction} that can handle * {@link DefaultDockable DefaultDockables}. * @author Benjamin Sigg */ @ClientOnly public static class RenameDefaultDockable extends RenameAction{ /** * Creates a new action * @param controller the controller to which a listener will be added */ public RenameDefaultDockable( DockController controller ) { super( controller ); } @Override protected void rename( Dockable dock, String text ){ ((DefaultDockable)dock).setTitleText( text ); } } }
@ClientOnly public interface CColorBridgeExtension {
@ClientOnly public interface CColorBridgeExtension {
@ClientOnly public class SplitDockFullScreenProperty extends AbstractDockableProperty { public DockableProperty copy(){
@ClientOnly public class SplitDockFullScreenProperty extends AbstractDockableProperty { public DockableProperty copy(){
@ClientOnly public class FreeMenuPiece extends BaseMenuPiece{
@ClientOnly public class FreeMenuPiece extends BaseMenuPiece{
@ClientOnly public class ReplaceActionGuard implements ActionGuard {
@ClientOnly public class ReplaceActionGuard implements ActionGuard {