RTXI 1.3
hdf/RTXIh5_MATLAB/uisplitpane/uisplitter.m File Reference

Go to the source code of this file.

Functions

classdef uisplitter< hgsetget%Splits
a container into two resizable
sub-containers(panes).%%uisplitter
divides a container into two
sub-containers with a movable%splitter.The
container to split can be
either a figure or a uipanel
with%no children.Depending on
orientation, the splitter is
either a vertical%bar that
separates a left and right
pane(for horizontal
orientation), or%a horizontal
bar that separates a bottom
and top pane(for vertical%orientation).If
no container is specified, the
figure returned by gcf is%assumed
as the parent container.Once
the container is split,%sub-containers
may be freely populated with
MatLab components.The%relative
size of the sub-containers may
be adjusted interactively
using%the mouse, or
programmatically from code.%%Settings:%*Orientation:Split
pane orientation 'horizontal'or
'vertical';a%horizontally-oriented
split pane consists of left
and right part, a%vertically-oriented
consists of top and bottom
part.%*DividerLocation:Divider
position in normalized units,
0 corresponds%to far left or
bottom, 1 to far right or top,
depending on orientation.%*DividerWidth:Divider
width in pixels.%*DividerColor:Divider
background color.%%See
also:uisplitpane, gcf%Copyright
2010 Levente Hunyadi,
http:properties
DividerLocation=0.5;%Divider
position in normalized
units.DividerWidth=5;%Divider
width in pixels.DividerColor=[0,
0, 0];%Divider background
color.%DividerMinLocation=0.1;%DividerMaxLocation=0.9;end
properties(SetAccess=private)
Orientation= 'horizontal';%Split
pane orientation('horizontal'or
'vertical').Parent;LeftOrBottomPaneHandle;RightOrTopPaneHandle;DividerHandle;end
methods function self=uisplitter(varargin)%Construct
a uisplitter instance from a
variable argument list.%set
parent if nargin > && 
isscalar (varargin{1})&&ishandle(varargin

Variables

self Parent = varargin{1}

Function Documentation

classdef uisplitter< hgsetget% Splits a container into two resizable sub-containers (panes).%% uisplitter divides a container into two sub-containers with a movable% splitter. The container to split can be either a figure or a uipanel with% no children. Depending on orientation, the splitter is either a vertical% bar that separates a left and right pane (for horizontal orientation), or% a horizontal bar that separates a bottom and top pane (for vertical% orientation). If no container is specified, the figure returned by gcf is% assumed as the parent container. Once the container is split,% sub-containers may be freely populated with MatLab components. The% relative size of the sub-containers may be adjusted interactively using% the mouse, or programmatically from code.%% Settings:% * Orientation: Split pane orientation 'horizontal' or 'vertical'; a% horizontally-oriented split pane consists of left and right part, a% vertically-oriented consists of top and bottom part.% * DividerLocation: Divider position in normalized units, 0 corresponds% to far left or bottom, 1 to far right or top, depending on orientation.% * DividerWidth: Divider width in pixels.% * DividerColor: Divider background color.%% See also: uisplitpane, gcf% Copyright 2010 Levente Hunyadi, http: properties DividerLocation = 0.5; % Divider position in normalized units. DividerWidth = 5; % Divider width in pixels. DividerColor = [0,0,0]; % Divider background color. %DividerMinLocation = 0.1; %DividerMaxLocation = 0.9; end properties (SetAccess = private) Orientation = 'horizontal'; % Split pane orientation ('horizontal' or 'vertical'). Parent; LeftOrBottomPaneHandle; RightOrTopPaneHandle; DividerHandle; end methods function self = uisplitter(varargin) % Construct a uisplitter instance from a variable argument list. % set parent if nargin >&& isscalar ( )

Definition at line 48 of file uisplitter.m.


Variable Documentation

self Parent = varargin{1}

Definition at line 49 of file uisplitter.m.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines