BasicFileUploadManager | Methods |  |

## setUploaderProperties

BasicFileUploadManager 객체와 BasicFileUploadMonitor 객체의 UI 속성을 설정합니다.

#### Syntax

    void setUploaderProperties ( Object uiProperties )

#### Parameters

fileFilter

[in] BasicFileUploadManager 객체와 BasicFileUploadMonitor 객체의 UI 속성입니다.

#### Return Values

#### Remarks

#### Sample Codes

Javascript

    /**
    * UI Properties 변경
    */
    var resetUiProperties = function () {
    var mainWidth = document.getElementById('mainWidth').value;
    var mainHeight = document.getElementById('mainHeight').value;
    var mainBorderColor = document.getElementById('mainBorderColor').value;
    var topPanelDisplayStyle = (document.getElementsByName('topPanelDisplayStyle')[0].checked == true) ? 'block' : 'none';
    var selectFilesButtonDisplayStyle = (document.getElementsByName('selectFilesButtonDisplayStyle')[0].checked == true) ? 'block' : 'none';
    var selectFilesButtonDisabledStyle = (document.getElementsByName('selectFilesButtonDisabledStyle')[0].checked == true) ? true : false;
    var uploadButtonDisplayStyle = (document.getElementsByName('uploadButtonDisplayStyle')[0].checked == true) ? 'block' : 'none';
    var uploadButtonDisabledStyle = (document.getElementsByName('uploadButtonDisabledStyle')[0].checked == true) ? true : false;
    var closeMonitorCheckBoxChecked = (document.getElementsByName('closeMonitorCheckBoxChecked')[0].checked == true) ? true : false;

    var managerProperties = new Object();
    managerProperties.width = mainWidth;                                                // FileUploadManager 너비
    managerProperties.height = mainHeight;                                              // FileUploadManager 높이
    managerProperties.borderColor = mainBorderColor;                                    // FileUploadManager 보더 컬러
    managerProperties.topPanelDisplayStyle = topPanelDisplayStyle;                      // 상단 패널 Visible 상태
    managerProperties.selectFilesButtonDisplayStyle = selectFilesButtonDisplayStyle;    // 파일선택 버튼 Visible 상태
    managerProperties.selectFilesButtonDisabledStyle = selectFilesButtonDisabledStyle;  // 파일선택 버튼 Enabled 상태
    managerProperties.uploadButtonDisplayStyle = uploadButtonDisplayStyle;              // 업로드 버튼 Visible 상태
    managerProperties.uploadButtonDisabledStyle = uploadButtonDisabledStyle;            // 업로드 버튼 Enabled 상태

    var monitorProperties = new Object();
    monitorProperties.closeMonitorCheckBoxChecked = closeMonitorCheckBoxChecked;        // 전송 완료 후 FileUploadMonitor 창 닫기 설정

    namoCrossUploader.setUploaderProperties(
    	JSON.stringify(managerProperties),                          // FileUploadManager 프로퍼티를 JSON 문자열로 전달
    	JSON.stringify(monitorProperties));                         // FileUploadMonitor 프로퍼티를 JSON 문자열로 전달

    // 상단 패널, 또는 버튼의 visible, enabled 상태에 따라 html 버튼의 visibility 설정
    document.getElementById("selectFiles").style.visibility = 'hidden';
    document.getElementById("startUpload").style.visibility = 'hidden';

    if (topPanelDisplayStyle == 'none') {
    	document.getElementById("selectFiles").style.visibility = 'visible';
    	document.getElementById("startUpload").style.visibility = 'visible';
    }
    else if (selectFilesButtonDisplayStyle == 'none' || selectFilesButtonDisabledStyle == true)
    	document.getElementById("selectFiles").style.visibility = 'visible';
    else if (uploadButtonDisplayStyle == 'none' || uploadButtonDisabledStyle == true)
    	document.getElementById("startUpload").style.visibility = 'visible';
    }